CFBinaryHeapGetValues(_:_:)
Copies all the values from a binary heap into a sorted C array.
Declaration
func CFBinaryHeapGetValues(_ heap: CFBinaryHeap!, _ values: UnsafeMutablePointer<UnsafeRawPointer?>!)Parameters
- heap:
The binary heap to use.
- values:
On return, the memory pointed to by this argument holds a C array of all the values in heap, sorted from minimum to maximum values. You must allocate sufficient memory to hold all the values in
heapbefore calling this function. If the values are Core Foundation objects, ownership follows the 20001148 SW1.
See Also
CFBinaryHeap Miscellaneous Functions
CFBinaryHeapAddValue(_:_:)CFBinaryHeapApplyFunction(_:_:_:)CFBinaryHeapContainsValue(_:_:)CFBinaryHeapCreate(_:_:_:_:)CFBinaryHeapCreateCopy(_:_:_:)CFBinaryHeapGetCount(_:)CFBinaryHeapGetCountOfValue(_:_:)CFBinaryHeapGetMinimum(_:)CFBinaryHeapGetMinimumIfPresent(_:_:)CFBinaryHeapGetTypeID()CFBinaryHeapRemoveAllValues(_:)CFBinaryHeapRemoveMinimumValue(_:)