| // Licensed to the Apache Software Foundation (ASF) under one |
| // or more contributor license agreements. See the NOTICE file |
| // distributed with this work for additional information |
| // regarding copyright ownership. The ASF licenses this file |
| // to you under the Apache License, Version 2.0 (the |
| // "License"); you may not use this file except in compliance |
| // with the License. You may obtain a copy of the License at |
| // |
| // http://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, |
| // software distributed under the License is distributed on an |
| // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| // KIND, either express or implied. See the License for the |
| // specific language governing permissions and limitations |
| // under the License.. |
| |
| #![no_std] |
| #![allow(non_camel_case_types)] |
| #![allow(non_snake_case)] |
| #![allow(improper_ctypes)] |
| #![allow(unused_macros)] |
| #![allow(clippy::wrong_self_convention)] |
| |
| #[macro_use] |
| mod macros; |
| |
| pub use core::ffi::c_void; |
| |
| pub type int8_t = i8; |
| pub type int16_t = i16; |
| pub type int32_t = i32; |
| pub type int64_t = i64; |
| pub type uint8_t = u8; |
| pub type uint16_t = u16; |
| pub type uint32_t = u32; |
| pub type uint64_t = u64; |
| |
| pub type c_schar = i8; |
| pub type c_char = i8; |
| pub type c_uchar = u8; |
| pub type c_short = i16; |
| pub type c_ushort = u16; |
| pub type c_int = i32; |
| pub type c_uint = u32; |
| pub type c_float = f32; |
| pub type c_double = f64; |
| pub type c_longlong = i64; |
| pub type c_ulonglong = u64; |
| pub type intmax_t = i64; |
| pub type uintmax_t = u64; |
| #[cfg(target_pointer_width = "32")] |
| pub type c_long = i32; |
| #[cfg(target_pointer_width = "32")] |
| pub type c_ulong = u32; |
| #[cfg(target_pointer_width = "64")] |
| pub type c_long = i64; |
| #[cfg(target_pointer_width = "64")] |
| pub type c_ulong = u64; |
| |
| pub type size_t = usize; |
| pub type ptrdiff_t = isize; |
| pub type intptr_t = isize; |
| pub type uintptr_t = usize; |
| pub type ssize_t = isize; |
| pub type time_t = i64; |
| |
| mod types; |
| pub use self::types::*; |
| |
| mod error; |
| pub use self::error::*; |
| |
| mod function; |
| pub use self::function::*; |
| |
| pub mod cpu_feature; |
| pub mod marker; |
| pub mod metadata; |