| //! Xous C type definitions |
| pub type c_longlong = i64; |
| pub type c_ulonglong = u64; |
| pub type uintmax_t = u64; |
| pub type ptrdiff_t = isize; |
| pub type intptr_t = isize; |
| pub type uintptr_t = usize; |
| pub type ssize_t = isize; |
| pub const INT_MIN: c_int = -2147483648; |
| pub const INT_MAX: c_int = 2147483647; |
| if #[cfg(libc_core_cvoid)] { |
| // Use repr(u8) as LLVM expects `void*` to be the same as `i8*` to help |
| // enable more optimization opportunities around it recognizing things |
| #[allow(missing_copy_implementations)] |
| #[allow(missing_debug_implementations)] |
| // Two dummy variants so the #[repr] attribute can be used. |