// This file has been automatically generated by `objc2`'s `header-translator`.
// DO NOT EDIT

#![allow(unused_imports)]
#![allow(deprecated)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#![allow(missing_docs)]
#![allow(clippy::too_many_arguments)]
#![allow(clippy::type_complexity)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::identity_op)]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::doc_lazy_continuation)]
#![allow(rustdoc::broken_intra_doc_links)]
#![allow(rustdoc::bare_urls)]
#![allow(rustdoc::invalid_html_tags)]

#[link(name = "IOSurface", kind = "framework")]
extern "C" {}

#[cfg(feature = "IOSurface")]
#[path = "IOSurface.rs"]
mod __IOSurface;
#[cfg(feature = "IOSurfaceAPI")]
#[path = "IOSurfaceAPI.rs"]
mod __IOSurfaceAPI;
#[cfg(feature = "IOSurfaceBase")]
#[path = "IOSurfaceBase.rs"]
mod __IOSurfaceBase;
#[cfg(feature = "IOSurfaceRef")]
#[path = "IOSurfaceRef.rs"]
mod __IOSurfaceRef;
#[cfg(feature = "IOSurfaceTypes")]
#[path = "IOSurfaceTypes.rs"]
mod __IOSurfaceTypes;
#[cfg(feature = "objc2")]
#[path = "objc2.rs"]
mod __objc2;

#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceAllocSize;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceBytesPerElement;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceBytesPerRow;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceCacheMode;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceColorSpace;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceContentHeadroom;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceElementHeight;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceElementWidth;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceHeight;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceICCProfile;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceIsGlobal;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceName;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceOffset;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePixelFormat;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePixelSizeCastingAllowed;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneBase;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneBitsPerElement;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneBytesPerElement;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneBytesPerRow;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneComponentBitDepths;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneComponentBitOffsets;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneComponentNames;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneComponentRanges;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneComponentTypes;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneElementHeight;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneElementWidth;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneHeight;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneInfo;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneOffset;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneSize;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfacePlaneWidth;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceSubsampling;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::kIOSurfaceWidth;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceAlignProperty;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceAllowsPixelSizeCasting;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceComponentName;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceComponentRange;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceComponentType;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceCopyAllValues;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceCopyValue;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceCreate;
#[cfg(all(feature = "IOSurfaceRef", feature = "libc"))]
pub use self::__IOSurfaceRef::IOSurfaceCreateMachPort;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceDecrementUseCount;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetAllocSize;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBaseAddress;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBaseAddressOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBitDepthOfComponentOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBitOffsetOfComponentOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBytesPerElement;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBytesPerElementOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBytesPerRow;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetBytesPerRowOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetElementHeight;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetElementHeightOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetElementWidth;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetElementWidthOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetHeight;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetHeightOfPlane;
#[cfg(all(feature = "IOSurfaceRef", feature = "IOSurfaceTypes"))]
pub use self::__IOSurfaceRef::IOSurfaceGetID;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetNameOfComponentOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetNumberOfComponentsOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetPixelFormat;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetPlaneCount;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceGetPropertyAlignment;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceGetPropertyMaximum;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetRangeOfComponentOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetSeed;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetSubsampling;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetTypeOfComponentOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetUseCount;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetWidth;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceGetWidthOfPlane;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceIncrementUseCount;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceIsInUse;
#[cfg(all(feature = "IOSurfaceRef", feature = "IOSurfaceTypes", feature = "libc"))]
pub use self::__IOSurfaceRef::IOSurfaceLock;
#[cfg(all(
    feature = "IOSurfaceRef",
    feature = "IOSurfaceTypes",
    feature = "objc2-core-foundation"
))]
pub use self::__IOSurfaceRef::IOSurfaceLookup;
#[cfg(all(
    feature = "IOSurfaceRef",
    feature = "libc",
    feature = "objc2-core-foundation"
))]
pub use self::__IOSurfaceRef::IOSurfaceLookupFromMachPort;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceMemoryLedgerFlags;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceMemoryLedgerTags;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceRemoveAllValues;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceRemoveValue;
#[cfg(all(feature = "IOSurfaceRef", feature = "libc"))]
pub use self::__IOSurfaceRef::IOSurfaceSetPurgeable;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceSetValue;
#[cfg(all(feature = "IOSurfaceRef", feature = "objc2-core-foundation"))]
pub use self::__IOSurfaceRef::IOSurfaceSetValues;
#[cfg(feature = "IOSurfaceRef")]
pub use self::__IOSurfaceRef::IOSurfaceSubsampling;
#[cfg(all(feature = "IOSurfaceRef", feature = "IOSurfaceTypes", feature = "libc"))]
pub use self::__IOSurfaceRef::IOSurfaceUnlock;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceCopybackCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceCopybackInnerCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceDefaultCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceInhibitCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapCacheShift;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapCopybackCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapCopybackInnerCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapDefaultCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapInhibitCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapWriteCombineCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceMapWriteThruCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceWriteCombineCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::kIOSurfaceWriteThruCache;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::IOSurfaceID;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::IOSurfaceLockOptions;
#[cfg(feature = "IOSurfaceTypes")]
pub use self::__IOSurfaceTypes::IOSurfacePurgeabilityState;
#[cfg(feature = "objc2")]
pub use self::__objc2::IOSurface;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyAllocSizeKey;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKey;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyAllocSize;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyBytesPerElement;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyBytesPerRow;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyCacheMode;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyElementHeight;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyElementWidth;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyHeight;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyName;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyOffset;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPixelFormat;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPixelSizeCastingAllowed;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneBase;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneBytesPerElement;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneBytesPerRow;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneElementHeight;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneElementWidth;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneHeight;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneInfo;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneOffset;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneSize;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyPlaneWidth;
#[cfg(all(feature = "objc2", feature = "objc2-foundation"))]
pub use self::__objc2::IOSurfacePropertyKeyWidth;
