lib.rs 394 B

12345678910111213
  1. //! C <-> Rust compatibility helpers and types.
  2. //!
  3. //! Generically useful, small scale helpers should go here. This goes for both
  4. //! the C side (in the form of the ffi module) as well as the Rust side
  5. //! (individual modules per functionality). The corresponding C stuff lives in
  6. //! `src/common/compat_rust.{c,h}`.
  7. extern crate libc;
  8. mod rust_string;
  9. pub mod ffi;
  10. pub use rust_string::*;