mirror of
https://github.com/storytold/k4a-sys-temp.git
synced 2026-10-09 00:09:45 +00:00
Only whitelist k4a_* functions.
This commit is contained in:
@@ -17,6 +17,7 @@ fn main() {
|
||||
let bindings = bindgen::Builder::default()
|
||||
.header("wrapper.h")
|
||||
.clang_arg(format!("-I./vendor/include/{}", consts::OS))
|
||||
.whitelist_function("k4a.*")
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
|
||||
.generate()
|
||||
.expect("Unable to generate bindings");
|
||||
|
||||
Reference in New Issue
Block a user