Contents

release

Callback function used to release a value before it is removed from a binary heap.

Declaration

var release: ((CFAllocator?, UnsafeRawPointer?) -> Void)!

Parameters

  • allocator:

    The binary heap’s allocator.

  • ptr:

    The value to release.

Discussion

The callback used to remove a retain previously added for the binary heap from values as they are removed from the binary heap. If this field is NULL, the binary heap does nothing to release a value being removed.

See Also

Callbacks