slow5lib-sys 0.10.0+slow5lib.1.3.0

Low-level bindings to the slow5lib C library
Documentation
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(non_snake_case)]
#![allow(rustdoc::unportable_markdown)]
#![doc = include_str!("../README.md")]

use libc::*;
use libz_sys::z_stream;

include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(test)]
mod tests {
    #[test]
    fn test_slow5_open() {
        let file = cstr::cstr!("slow5lib/examples/example.slow5");
        let mode = cstr::cstr!("r");
        unsafe {
            let slow_file = crate::slow5_open(file.as_ptr(), mode.as_ptr());
            crate::slow5_close(slow_file);
        }
    }
}