Source code

Revision control

Copy as Markdown

Other Tools

use core::cell::UnsafeCell;
use core::marker::{PhantomData, PhantomPinned};
#[repr(C)]
pub struct IOSurfaceRef {
inner: [u8; 0],
_p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}
#[cfg(feature = "objc2-core-foundation")]
objc2_core_foundation::cf_type!(
unsafe impl IOSurfaceRef {}
);
#[cfg(feature = "objc2")]
objc2::cf_objc2_type!(
unsafe impl RefEncode<"__IOSurface"> for IOSurfaceRef {}
);