mirror of
https://github.com/bspeice/aeron-rs
synced 2024-12-21 21:38:09 -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()
|
||||
.clang_arg(&format!("-I{}", header_path.display()))
|
||||
.header("bindings.h")
|
||||
.whitelist_function("aeron_.*")
|
||||
.whitelist_type("aeron_.*")
|
||||
.generate()
|
||||
.expect("Unable to generate aeron_driver bindings");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user