//! # Bindings to the `IOSurface` framework //! //! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information. //! //! [apple-doc]: https://developer.apple.com/documentation/iosurface/ //! [framework-crates]: https://docs.rs/objc2/latest/objc2/topics/about_generated/index.html #![no_std] #![cfg_attr(feature = "unstable-darwin-objc", feature(darwin_objc))] #![cfg_attr(docsrs, feature(doc_cfg))] // Update in Cargo.toml as well. #![doc(html_root_url = "https://docs.rs/objc2-io-surface/0.3.2")] #[cfg(feature = "alloc")] extern crate alloc; #[cfg(feature = "std")] extern crate std; mod generated; #[cfg(feature = "IOSurfaceRef")] mod io_surface; #[allow(unused_imports, unreachable_pub)] pub use self::generated::*; #[cfg(feature = "IOSurfaceRef")] pub use self::io_surface::IOSurfaceRef; // MacTypes.h #[allow(dead_code)] pub(crate) type Boolean = u8; #[allow(dead_code)] pub(crate) type OSType = u32;