Contents

CFSetCopyDescriptionCallBack

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

Declaration

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

Parameters

  • value:

    The value to be described.

Return Value

A textual description of value. The caller is responsible for releasing this object.

Discussion

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

See Also

Callbacks