libffi-sys 0.4.7

Raw Rust bindings for libffi
Documentation

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

Make sure you have a working make, C compiler, automake, and autoconf first. It’s on crates.io, so you can add

[dependencies]
libffi-sys = "0.4.7"

to your Cargo.toml and

extern crate libffi_sys;

to your crate root.