Source code
Revision control
Copy as Markdown
Other Tools
//! # Bindings to the `IOSurface` framework
//!
//! See [Apple's docs][apple-doc] and [the general docs on framework crates][framework-crates] for more information.
//!
#![no_std]
#![cfg_attr(feature = "unstable-darwin-objc", feature(darwin_objc))]
#![cfg_attr(docsrs, feature(doc_cfg))]
// Update in Cargo.toml as well.
#[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;