File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ fn main() {
91
91
.header(headers_path_str)
92
92
// Tell cargo to invalidate the built crate whenever any of the
93
93
// included header files changed.
94
- .parse_callbacks(Box::new(CargoCallbacks))
94
+ .parse_callbacks(Box::new(CargoCallbacks::new() ))
95
95
// Finish the builder and generate the bindings.
96
96
.generate()
97
97
// Unwrap the Result and panic on failure.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ fn main() {
33
33
.header("wrapper.h")
34
34
// Tell cargo to invalidate the built crate whenever any of the
35
35
// included header files changed.
36
- .parse_callbacks(Box::new(bindgen::CargoCallbacks))
36
+ .parse_callbacks(Box::new(bindgen::CargoCallbacks::new() ))
37
37
// Finish the builder and generate the bindings.
38
38
.generate()
39
39
// Unwrap the Result and panic on failure.
You can’t perform that action at this time.
0 commit comments