leapcpp_sys/lib.rs
1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(deref_nullptr)]
5
6// FIXME: There's a pretty severe bug in bindgen that makes it silently generate incorrect code.
7// For more details, see https://github.com/rust-lang/rust-bindgen/issues/778.
8// I've manually fixed the generated bindings to use explicit out-pointers where necessary.
9
10//include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
11
12mod bindings;
13
14pub use bindings::*;