1pub use core::ffi::{
11 c_char,
12 c_double,
13 c_float,
14 c_int,
15 c_long,
16 c_longlong,
17 c_schar,
18 c_short,
19 c_uchar,
20 c_uint,
21 c_ulong,
22 c_ulonglong,
23 c_ushort,
24};
25
26#[deprecated(since = "0.2.55", note = "Use i8 instead.")]
27pub type int8_t = i8;
28#[deprecated(since = "0.2.55", note = "Use i16 instead.")]
29pub type int16_t = i16;
30#[deprecated(since = "0.2.55", note = "Use i32 instead.")]
31pub type int32_t = i32;
32#[deprecated(since = "0.2.55", note = "Use i64 instead.")]
33pub type int64_t = i64;
34#[deprecated(since = "0.2.55", note = "Use u8 instead.")]
35pub type uint8_t = u8;
36#[deprecated(since = "0.2.55", note = "Use u16 instead.")]
37pub type uint16_t = u16;
38#[deprecated(since = "0.2.55", note = "Use u32 instead.")]
39pub type uint32_t = u32;
40#[deprecated(since = "0.2.55", note = "Use u64 instead.")]
41pub type uint64_t = u64;
42
43cfg_if! {
44 if #[cfg(all(target_arch = "aarch64", not(target_os = "windows")))] {
45 #[deprecated(since = "0.2.184", note = "Use i128 instead.")]
47 pub type __int128 = i128;
48 #[deprecated(since = "0.2.184", note = "Use u128 instead.")]
50 pub type __uint128 = u128;
51 #[deprecated(since = "0.2.184", note = "Use i128 instead.")]
53 pub type __int128_t = i128;
54 #[deprecated(since = "0.2.184", note = "Use u128 instead.")]
56 pub type __uint128_t = u128;
57 }
58}