Remove warnings about improper_ctypes

Fixes: #856
pull/867/head
José Luis Cruz 4 years ago committed by GitHub
parent 73e71622f7
commit 9366028919
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