1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(improper_ctypes)]
5#![doc = include_str!("../README.md")]
6
7#[cfg(feature = "generate-bindings")]
8include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
9
10#[cfg(not(feature = "generate-bindings"))]
11include!("bindings.rs");
12
13#[cfg(test)]
14mod tests {
15 use super::*;
16
17 #[test]
18 fn test_constants_exist() {
19 assert_eq!(CU_FILE_SUCCESS, 0);
21 assert_eq!(CU_FILE_DRIVER_NOT_INITIALIZED, 5001);
22 }
23}