Return results for fallible media APIs
This commit is contained in:
parent
79a7a0e0e7
commit
fcf6aa15eb
6 changed files with 34 additions and 21 deletions
|
@ -17,6 +17,7 @@ fn main() {
|
|||
.clang_arg(format!("-isysroot{}", sdk_path))
|
||||
.clang_arg("-xobjective-c")
|
||||
.allowlist_var("kCVPixelFormatType_.*")
|
||||
.allowlist_var("kCVReturn.*")
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||
.layout_tests(false)
|
||||
.generate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue