1 //! Compatibility module for C platform-specific types. Use [`core::ffi`] instead.
3 #![stable(feature = "raw_os", since = "1.1.0")]
8 macro_rules! alias_core_ffi {
10 #[stable(feature = "raw_os", since = "1.1.0")]
11 #[doc = include_str!(concat!("../../../../core/src/ffi/", stringify!($t), ".md"))]
12 // Make this type alias appear cfg-dependent so that Clippy does not suggest
13 // replacing expressions like `0 as c_char` with `0_i8`/`0_u8`. This #[cfg(all())] can be
14 // removed after the false positive in https://github.com/rust-lang/rust-clippy/issues/8093
18 pub type $t = core::ffi::$t;
23 c_char c_schar c_uchar
27 c_longlong c_ulonglong