Skip to main content

CFMachPortCallBack

Type Alias CFMachPortCallBack 

Source
pub type CFMachPortCallBack = Option<unsafe extern "C" fn(port: CFMachPortRef, msg: *mut c_void, size: CFIndex, info: *mut c_void)>;

Aliased Type§

pub enum CFMachPortCallBack {
    None,
    Some(unsafe extern "C" fn(*mut __CFMachPort, *mut c_void, i64, *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __CFMachPort, *mut c_void, i64, *mut c_void))

Some value of type T.