Function CFBinaryHeapApplyFunction

Source
pub unsafe extern "C-unwind" fn CFBinaryHeapApplyFunction(
    heap: &CFBinaryHeap,
    applier: CFBinaryHeapApplierFunction,
    context: *mut c_void,
)
Available on crate feature CFBinaryHeap only.
Expand description

Calls a function once for each value in the binary heap.

Parameter heap: The binary heap to be operated upon. If this parameter is not a valid CFBinaryHeap, the behavior is undefined.

Parameter applier: The callback function to call once for each value in the given binary heap. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. If there are values in the binary heap which the applier function does not expect or cannot properly apply to, the behavior is undefined.

Parameter context: A pointer-sized user-defined value, which is passed as the second parameter to the applier function, but is otherwise unused by this function. If the context is not what is expected by the applier function, the behavior is undefined.