Skip to main content

CFMachPortCreate

Function CFMachPortCreate 

Source
pub unsafe extern "C-unwind" fn CFMachPortCreate(
    allocator: Option<&CFAllocator>,
    callout: CFMachPortCallBack,
    context: *mut CFMachPortContext,
    should_free_info: *mut u8,
) -> Option<CFRetained<CFMachPort>>
👎Deprecated:

renamed to CFMachPort::new

Available on crate feature CFMachPort only.