mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-22 05:48:10 -05:00
Whitelist driver bindings
Much cleaner namespace to work with
This commit is contained in:
parent
4310eb7e73
commit
646d58fd1b
@ -95,6 +95,8 @@ pub fn main() {
|
|||||||
let bindings = bindgen::Builder::default()
|
let bindings = bindgen::Builder::default()
|
||||||
.clang_arg(&format!("-I{}", header_path.display()))
|
.clang_arg(&format!("-I{}", header_path.display()))
|
||||||
.header("bindings.h")
|
.header("bindings.h")
|
||||||
|
.whitelist_function("aeron_.*")
|
||||||
|
.whitelist_type("aeron_.*")
|
||||||
.generate()
|
.generate()
|
||||||
.expect("Unable to generate aeron_driver bindings");
|
.expect("Unable to generate aeron_driver bindings");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user