Skip to main content

CFMachPortCreateWithPort

Function CFMachPortCreateWithPort 

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

renamed to CFMachPort::with_port

Available on crate features CFMachPort and libc only.