Contents

CFBagCopyDescriptionCallBack

Prototype of a callback function used to get a description of a value in a bag.

Declaration

typealias CFBagCopyDescriptionCallBack = (UnsafeRawPointer?) -> Unmanaged<CFString>?

Parameters

  • value:

    The value to be described.

Return Value

A textual description of value. Ownership follows the The Create Rule.

Discussion

This callback is passed to CFBagCreate(_:_:_:_:) in a CFBagCallBacks structure. This callback is used by the CFCopyDescription(_:) function.

See Also

Callbacks