We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CargoCallbacks::new()
bindgen::CargoCallbacks
1 parent c0ebd68 commit a8fa942Copy full SHA for a8fa942
book/src/tutorial-3.md
@@ -33,7 +33,7 @@ fn main() {
33
.header("wrapper.h")
34
// Tell cargo to invalidate the built crate whenever any of the
35
// included header files changed.
36
- .parse_callbacks(Box::new(bindgen::CargoCallbacks))
+ .parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
37
// Finish the builder and generate the bindings.
38
.generate()
39
// Unwrap the Result and panic on failure.
0 commit comments