Contents

CFSetReleaseCallBack

Prototype of a callback function used to release a value before it’s removed from a set.

Declaration

typealias CFSetReleaseCallBack = (CFAllocator?, UnsafeRawPointer?) -> Void

Parameters

  • allocator:

    The set’s allocator.

  • value:

    The value being removed from the set.

Discussion

This callback is passed to CFSetCreate(_:_:_:_:) in a CFSetCallBacks structure.

See Also

Callbacks