CFBinaryHeapAddValue(_:_:)
Adds a value to a binary heap.
Declaration
func CFBinaryHeapAddValue(_ heap: CFBinaryHeap!, _ value: UnsafeRawPointer!)Parameters
- heap:
The binary heap to use.
- value:
The value to add to the binary heap. The value is retained by the binary heap using the retain callback provided in the Cfbinaryheapcallbacks structure when the binary heap was created.
See Also
CFBinaryHeap Miscellaneous Functions
CFBinaryHeapApplyFunction(_:_:_:)CFBinaryHeapContainsValue(_:_:)CFBinaryHeapCreate(_:_:_:_:)CFBinaryHeapCreateCopy(_:_:_:)CFBinaryHeapGetCount(_:)CFBinaryHeapGetCountOfValue(_:_:)CFBinaryHeapGetMinimum(_:)CFBinaryHeapGetMinimumIfPresent(_:_:)CFBinaryHeapGetTypeID()CFBinaryHeapGetValues(_:_:)CFBinaryHeapRemoveAllValues(_:)CFBinaryHeapRemoveMinimumValue(_:)