[][src]Crate c_closures_build

Traits

BindgenBuilderExt

Extends the bindgen::Builder with a function you'll need to call on it when generating bindings to your own C/C++ code that include "rust_closures.h"

Functions

c_closure_header_include_dir

Provides the path containing rust_closures.h, this only works if a dependency on c-closures is declared in your Cargo.toml. This path is automatically included by BindgenBuilderExt::c_closures_enhancements. You'll need to include this path to compile any C/C++ code making use of this crate's Closure type.