Function CFBinaryHeapAddValue

Source
pub unsafe extern "C-unwind" fn CFBinaryHeapAddValue(
    heap: &CFBinaryHeap,
    value: *const c_void,
)
Available on crate feature CFBinaryHeap only.
Expand description

Adds the value to the binary heap.

Parameter heap: The binary heap to which the value is to be added. If this parameter is not a valid mutable CFBinaryHeap, the behavior is undefined.

Parameter value: The value to add to the binary heap. The value is retained by the binary heap using the retain callback provided when the binary heap was created. If the value is not of the sort expected by the retain callback, the behavior is undefined.