Contents

CFBinaryHeapGetCountOfValue(_:_:)

Counts the number of times a given value occurs in a binary heap.

Declaration

func CFBinaryHeapGetCountOfValue(_ heap: CFBinaryHeap!, _ value: UnsafeRawPointer!) -> CFIndex

Parameters

  • heap:

    The binary heap to search.

  • value:

    The value for which to find matches in the binary heap. The compare callback provided in the Cfbinaryheapcallbacks structure when the binary heap was created is used to compare. If value, or any of the values in the binary heap, are not understood by the compare callback, the behavior is undefined.

Return Value

The number of times value occurs in heap.

See Also

CFBinaryHeap Miscellaneous Functions