| 1 | #![allow(non_camel_case_types, non_upper_case_globals)] |
|---|---|
| 2 | // Allowed this because some bindgen tests looks like |
| 3 | // it tries to dereference null pointers but actually |
| 4 | // it is not so. |
| 5 | #![cfg_attr(test, allow(deref_nullptr))] |
| 6 | |
| 7 | #[cfg(feature = "use_bindgen")] |
| 8 | include!(concat!(env!("OUT_DIR"), "/bindings.rs")); |
| 9 | |
| 10 | #[cfg(not(feature = "use_bindgen"))] |
| 11 | include!("bindings.rs"); |
| 12 | |
| 13 | #[link(name = "gbm")] |
| 14 | unsafeextern "C"{} |
| 15 |
