Cleanup cbindgen output for CGlue.
This crate essentially wraps cbindgen and performs additional header cleanup steps on top for good out-of-the-box usage.
sh
cargo install cglue-bindgen
Also make sure cbindgen is installed:
sh
cargo install cbindgen
Run similarly to cbindgen:
sh
cglue-bindgen +nightly -- --config cbindgen.toml --crate your_crate --output output_header.h
License: MIT