#[doc(hidden)] pubmod __cf_macro_helpers; #[cfg(feature = "CFArray")] mod array; mod base; #[cfg(feature = "CFBundle")] mod bundle; mod cf_type; #[cfg(feature = "CFData")] mod data; #[cfg(feature = "CFDate")] mod date; #[cfg(feature = "CFDictionary")] mod dictionary; #[cfg(feature = "CFError")] mod error; #[cfg(feature = "CFFileDescriptor")] mod filedescriptor; // Allow `default` methods on CFAllocator and CFTimeZone #[allow(clippy::should_implement_trait)] mod generated; #[cfg(feature = "CFCGTypes")] mod geometry; #[cfg(feature = "CFNumber")] mod number; mod opaque; mod retained; #[cfg(feature = "CFString")] mod string; mod thread_safety; #[cfg(feature = "CFTimeZone")] mod timezone; mod type_traits; #[cfg(feature = "CFURL")] mod url; #[cfg(feature = "CFUserNotification")] mod user_notification; #[cfg(feature = "CFUUID")] mod uuid;
// This is not exposed publicly, so the only way to use this in types with // generics is to use it through the default type (e.g. the user should write // `CFArray` instead of `CFArray<Opaque>`). #[allow(unused_imports)] pub(crate) useself::opaque::Opaque;
// MacTypes.h #[allow(dead_code)] mod mac_types { pub(crate) type Boolean = u8; // unsigned char pub(crate) type ConstStr255Param = *const core::ffi::c_char; pub(crate) type ConstStringPtr = *const core::ffi::c_char; pub(crate) type FourCharCode = u32; pub(crate) type LangCode = i16; pub(crate) type OSType = FourCharCode; pub(crate) type RegionCode = i16; pub(crate) type ResType = FourCharCode; pub(crate) type StringPtr = *mut core::ffi::c_char; pub(crate) type UniChar = u16; pub(crate) type UTF32Char = u32; // Or maybe Rust's char?
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.