CFNotificationCallback

Type Alias CFNotificationCallback 

Source
pub type CFNotificationCallback = Option<unsafe extern "C" fn(center: CFNotificationCenterRef, observer: *mut c_void, name: CFNotificationName, object: *const c_void, userInfo: CFDictionaryRef)>;

Aliased Type§

pub enum CFNotificationCallback {
    None,
    Some(unsafe extern "C" fn(*mut __CFNotificationCenter, *mut c_void, *const __CFString, *const c_void, *const __CFDictionary)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut __CFNotificationCenter, *mut c_void, *const __CFString, *const c_void, *const __CFDictionary))

Some value of type T.