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

Tweak to enum generation

No more gigantic weird names
This commit is contained in:
Bradlee Speice 2019-09-24 19:41:14 -04:00
parent 28900c330e
commit 8371b25638

View File

@ -97,6 +97,7 @@ pub fn main() {
.header("bindings.h") .header("bindings.h")
.whitelist_function("aeron_.*") .whitelist_function("aeron_.*")
.whitelist_type("aeron_.*") .whitelist_type("aeron_.*")
.constified_enum_module("aeron_.*_enum")
.generate() .generate()
.expect("Unable to generate aeron_driver bindings"); .expect("Unable to generate aeron_driver bindings");