1 | #![allow(non_camel_case_types, non_upper_case_globals)] |
---|---|
2 | |
3 | #[cfg(feature = "use_bindgen")] |
4 | include!(concat!( |
5 | env!("OUT_DIR"), |
6 | "/gen_", |
7 | env!("LIBINPUT_VERSION_STR"), |
8 | ".rs" |
9 | )); |
10 | |
11 | #[cfg(not(feature = "use_bindgen"))] |
12 | include!(concat!( |
13 | "bindings/gen_", |
14 | env!("LIBINPUT_VERSION_STR"), |
15 | ".rs" |
16 | )); |
17 | |
18 | #[link(name = "input")] |
19 | extern "C"{} |
20 |