linux_gpib_sys/
lib.rs

1#![allow(non_upper_case_globals)]
2#![allow(non_camel_case_types)]
3#![allow(non_snake_case)]
4#![allow(unsafe_op_in_unsafe_fn)]
5
6#[cfg(feature = "linuxgpib")]
7include!(concat!(env!("OUT_DIR"), "/linux_gpib.rs"));
8
9#[cfg(feature = "nigpib")]
10include!(concat!(env!("OUT_DIR"), "/ni_gpib.rs"));
11
12#[cfg(feature = "nigpib")]
13include!("constants.rs");
14
15#[cfg(feature = "linuxgpib")]
16pub type ibsta_type = i32;
17
18#[cfg(feature = "nigpib")]
19pub type ibsta_type = ::std::os::raw::c_uint;
20
21#[cfg(feature = "linuxgpib")]
22pub type status_mask_type = i32;
23
24#[cfg(feature = "nigpib")]
25pub type status_mask_type = i32;
26
27#[cfg(feature = "linuxgpib")]
28pub type iberr_type = i32;
29
30#[cfg(feature = "nigpib")]
31pub type iberr_type = ::std::os::raw::c_uint;