Contents

CFBagReleaseCallBack

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

Declaration

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

Parameters

  • allocator:

    The bag’s allocator.

  • value:

    The value being removed from the bag.

Discussion

This callback is passed to CFBagCreate(_:_:_:_:) in a CFBagCallBacks structure.

See Also

Callbacks