Skip to main content

CFSetReleaseCallBack

Type Alias CFSetReleaseCallBack 

Source
pub type CFSetReleaseCallBack = Option<unsafe extern "C" fn(allocator: CFAllocatorRef, value: *const c_void)>;
Expand description

@typedef CFSetReleaseCallBack Type of the callback function used by CFSets for releasing a retain on values. @param allocator The allocator of the CFSet. @param value The value to release.

Aliased Type§

pub enum CFSetReleaseCallBack {
    None,
    Some(unsafe extern "C" fn(*const __CFAllocator, *const c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const __CFAllocator, *const c_void))

Some value of type T.