1#![no_std]
19
20#![allow(non_camel_case_types)]
21#![allow(non_snake_case)]
22#![allow(improper_ctypes)]
23#![allow(unused_macros)]
24#![allow(clippy::wrong_self_convention)]
25
26#[macro_use]
27mod macros;
28
29pub use core::ffi::c_void;
30
31pub type int8_t = i8;
32pub type int16_t = i16;
33pub type int32_t = i32;
34pub type int64_t = i64;
35pub type uint8_t = u8;
36pub type uint16_t = u16;
37pub type uint32_t = u32;
38pub type uint64_t = u64;
39
40pub type c_schar = i8;
41pub type c_char = i8;
42pub type c_uchar = u8;
43pub type c_short = i16;
44pub type c_ushort = u16;
45pub type c_int = i32;
46pub type c_uint = u32;
47pub type c_float = f32;
48pub type c_double = f64;
49pub type c_longlong = i64;
50pub type c_ulonglong = u64;
51pub type intmax_t = i64;
52pub type uintmax_t = u64;
53#[cfg(target_pointer_width = "32")]
54pub type c_long = i32;
55#[cfg(target_pointer_width = "32")]
56pub type c_ulong = u32;
57#[cfg(target_pointer_width = "64")]
58pub type c_long = i64;
59#[cfg(target_pointer_width = "64")]
60pub type c_ulong = u64;
61
62pub type size_t = usize;
63pub type ptrdiff_t = isize;
64pub type intptr_t = isize;
65pub type uintptr_t = usize;
66pub type ssize_t = isize;
67pub type time_t = i64;
68
69mod types;
70pub use self::types::*;
71
72mod error;
73pub use self::error::*;
74
75mod function;
76pub use self::function::*;
77
78pub mod marker;
79pub mod metadata;
80pub mod cpu_feature;