Skip to content

Commit

Permalink
Replaced CargoCallBacks const with new()
Browse files Browse the repository at this point in the history
  • Loading branch information
spector-9 committed Feb 5, 2024
1 parent 5f36c5a commit 67b13a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraw-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ fn bindings(out_dir: impl AsRef<Path>, libraw_dir: impl AsRef<Path>) -> Result<(
.use_core()
.ctypes_prefix("libc")
.generate_comments(true)
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
// API improvements
.derive_eq(true)
.size_t_is_usize(true)
Expand Down

0 comments on commit 67b13a7

Please sign in to comment.