only run bindgen on ImPlot... names

not sure why bindgen switches to i32 everywhere
moved imgui dependency up one step as this seems where its actually used
This commit is contained in:
Benedikt Mandelkow 2020-10-26 18:54:48 +01:00 committed by 4bb4
parent cdc7e273c0
commit 6bdfd76d51
11 changed files with 31 additions and 8241 deletions

View file

@ -34,6 +34,8 @@ fn main() {
)
.parse_callbacks(Box::new(CargoCallbacks))
.clang_arg("-DCIMGUI_DEFINE_ENUMS_AND_STRUCTS=1")
.whitelist_function("ImPlot.*")
.whitelist_type("ImPlot.*")
.generate()
.expect("Unable to generate bindings");