libffi-sys-rs: Low-level Rust bindings for libffi

Build Status Crates.io License: MIT License: Apache 2.0

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.

See the libffi crate for a higher-level API.

Usage

It’s on crates.io, so it can be used by adding libffi-sys to the dependencies in your project’s Cargo.toml:

toml [dependencies] libffi-sys = "0.2"

It is necessary to have C libffi installed first. (We’ve tested with libffi version 3.2.1.)