1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(non_camel_case_types, non_upper_case_globals)]
// Allowed this because some bindgen tests looks like
// it tries to dereference null pointers but actually
// it is not so.
#![cfg_attr(test, allow(deref_nullptr))]

#[cfg(feature = "gen")]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

#[cfg(not(feature = "gen"))]
include!("bindings.rs");

#[link(name = "gbm")]
extern "C" {}