1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
//! DWFL types. use libc::c_int; pub use self::callbacks::*; pub use self::dwfl::*; pub use self::error::*; pub use self::frame::*; pub use self::module::*; pub use self::thread::*; mod callbacks; mod dwfl; mod error; mod frame; mod module; mod thread; fn cvt(r: c_int) -> Result<(), Error> { if r == 0 { Ok(()) } else { Err(Error::new()) } }