Skip to main content

CFMessagePortCallBack

Type Alias CFMessagePortCallBack 

Source
pub type CFMessagePortCallBack = Option<unsafe extern "C" fn(local: CFMessagePortRef, msgid: SInt32, data: CFDataRef, info: *mut c_void) -> CFDataRef>;

Aliased Type§

pub enum CFMessagePortCallBack {
    None,
    Some(unsafe extern "C" fn(*mut __CFMessagePort, i32, *const __CFData, *mut c_void) -> *const __CFData),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __CFMessagePort, i32, *const __CFData, *mut c_void) -> *const __CFData)

Some value of type T.