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 26 27 28 29 30 31 32 33
//! Low-level Rust bindings for [libffi](https://sourceware.org/libffi/) //! //! The C libffi library provides two main facilities: assembling calls //! to functions dynamically, and creating closures that can be called //! as ordinary C functions. This is an undocumented wrapper, generated //! by bindgen, intended as the basis for higher-level bindings, but you //! can see the [C libffi //! documentation](http://www.atmark-techno.com/~yashi/libffi.html). //! //! See [the libffi crate](https://crates.io/crates/libffi/) for a //! higher-level API. //! //! # Usage //! //! Make sure you have a working make, C compiler, automake, and autoconf //! first. It’s [on crates.io](https://crates.io/crates/libffi-sys), so you //! can add //! //! ```toml //! [dependencies] //! libffi-sys = "0.5.0" //! ``` //! //! to your `Cargo.toml` and //! //! ```rust //! extern crate libffi_sys; //! ``` //! //! to your crate root. mod generated; pub use generated::*;