Contents

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 heap before calling this function. If the values are Core Foundation objects, ownership follows the 20001148 SW1.

See Also

CFBinaryHeap Miscellaneous Functions