1#![allow(non_camel_case_types)]
2#![allow(non_upper_case_globals)]
3#![allow(non_snake_case)]
4#![allow(rustdoc::unportable_markdown)]
5#![doc = include_str!("../README.md")]
6
7use libc::*;
8use libz_sys::z_stream;
9
10include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
11
12#[cfg(test)]
13mod tests {
14 #[test]
15 fn test_slow5_open() {
16 let file = cstr::cstr!("slow5lib/examples/example.slow5");
17 let mode = cstr::cstr!("r");
18 unsafe {
19 let slow_file = crate::slow5_open(file.as_ptr(), mode.as_ptr());
20 crate::slow5_close(slow_file);
21 }
22 }
23}