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
7extern crate libc;
8
9#[cfg(feature = "gen")]
10include!(concat!(env!("OUT_DIR"), "/gen.rs"));
11
12#[cfg(not(feature = "gen"))]
13include!(concat!(
14 "platforms/",
15 env!("GBM_SYS_BINDINGS_PATH"),
16 "/gen.rs"
17));
18
19#[link(name = "gbm")]
20extern "C" {}
21