Creates a new mutable or fixed-mutable binary heap.
- iOS 2.0+
- macOS 10.0+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The allocator to use to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
The maximum number of values that can be contained by the binary heap. The binary heap starts empty and can grow to this number of values. If this parameter is
0, the binary heap's maximum capacity is limited only by memory.
A pointer to a
CFBinarystructure initialized with the callbacks that operate on the values placed into the binary heap. If the binary heap will be holding
Heap Call Backs
CFStringobjects, pass the
kconstant. This functions makes a copy of the contents of the callbacks structure, so that a pointer to a structure on the stack can be passed in, or can be reused for multiple binary heap creations. This callbacks parameter may not be
CFString Binary Heap Call Backs
Not used. Pass
CFBinary object. Ownership follows the The Create Rule.