1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-21 05:28:10 -05:00

Formatting

This commit is contained in:
Bradlee Speice 2020-04-07 23:15:39 -04:00
parent 9fd82b00b0
commit 685c360d2d

View File

@ -91,7 +91,10 @@ pub fn main() {
println!("cargo:include={}", header_path.display()); println!("cargo:include={}", header_path.display());
let bindings = bindgen::Builder::default() let bindings = bindgen::Builder::default()
.clang_arg(format!("-I{}", header_path.display())) .clang_arg(format!("-I{}", header_path.display()))
.clang_arg(format!("-I{}", aeron_path.join("aeron-client/src/main/c").display())) .clang_arg(format!(
"-I{}",
aeron_path.join("aeron-client/src/main/c").display()
))
.header("bindings.h") .header("bindings.h")
.whitelist_function("aeron_.*") .whitelist_function("aeron_.*")
.whitelist_type("aeron_.*") .whitelist_type("aeron_.*")