1#![allow(non_camel_case_types)]
4
5pub use core::ffi::CStr as Str;
6pub use core::ffi::{FromBytesUntilNulError, FromBytesWithNulError};
7
8pub use core::ffi::c_char as char;
9pub use core::ffi::c_double as double;
10pub use core::ffi::c_float as float;
11pub use core::ffi::c_int as int;
12pub use core::ffi::c_long as long;
13pub use core::ffi::c_longlong as longlong;
14pub use core::ffi::c_schar as schar;
15pub use core::ffi::c_short as short;
16pub use core::ffi::c_uchar as uchar;
17pub use core::ffi::c_uint as uint;
18pub use core::ffi::c_ulong as ulong;
19pub use core::ffi::c_ulonglong as ulonglong;
20pub use core::ffi::c_ushort as ushort;
21pub use core::ffi::c_void as void;
22
23#[cfg(feature = "nightly")]
24pub use core::ffi::c_ptrdiff_t as ptrdiff_t;
25#[cfg(feature = "nightly")]
26pub use core::ffi::c_size_t as size_t;
27#[cfg(feature = "nightly")]
28pub use core::ffi::c_ssize_t as ssize_t;
29
30pub type int8_t = i8;
31pub type int16_t = i16;
32pub type int32_t = i32;
33pub type int64_t = i64;
34pub type intmax_t = i64;
35
36pub type uint8_t = u8;
37pub type uint16_t = u16;
38pub type uint32_t = u32;
39pub type uint64_t = u64;
40pub type uintmax_t = u64;