Function cbindgen::generate_with_config [] [src]

pub fn generate_with_config<P: AsRef<Path>>(
    crate_dir: P,
    config: Config
) -> Result<Bindings, String>

A utility function for build scripts to generate bindings for a crate with a custom config.