Merge pull request #867

Remove warnings about improper_ctypes
pull/873/head
José Luis Cruz 4 years ago committed by GitHub
commit 8368380b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,6 +25,9 @@ fn main() {
// The input header we would like to generate
// builder for.
.header("wrapper.h")
// Remove warnings about improper_ctypes
.blacklist_function("strtold")
.blacklist_function("wcstold")
// Tell cargo to invalidate the built crate whenever any of the
// included header files changed.
.parse_callbacks(Box::new(bindgen::CargoCallbacks));

Loading…
Cancel
Save