1 2 3 4 5 6 7 8 9 10 11 12 13 14
#[allow(bad_style)]
mod ffi;
pub use crate::ffi::*;
#[test]
fn poke() {
unsafe {
let tmp = opj_create_compress(CODEC_FORMAT::OPJ_CODEC_J2K);
assert!(!tmp.is_null());
opj_destroy_codec(tmp);
}
}