1 2 3 4 5 6 7 8 9 10 11
use libc::{c_int, c_longlong, c_uint, c_ulonglong}; pub type herr_t = c_int; pub type htri_t = c_int; pub type hsize_t = c_ulonglong; pub type hssize_t = c_longlong; extern "C" { pub fn H5get_libversion(majnum: *mut c_uint, minnum: *mut c_uint, relnum: *mut c_uint) -> herr_t; }