Skip to main content

CFComparatorFunction

Type Alias CFComparatorFunction 

Source
pub type CFComparatorFunction = Option<unsafe extern "C" fn(val1: *const c_void, val2: *const c_void, context: *mut c_void) -> CFComparisonResult>;
Expand description

Apple SDK type alias CFComparatorFunction.

Aliased Type§

pub enum CFComparatorFunction {
    None,
    Some(unsafe extern "C" fn(*const c_void, *const c_void, *mut c_void) -> i64),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *const c_void, *mut c_void) -> i64)

Some value of type T.