Contents

CGDataConsumerReleaseInfoCallback

Releases any private data or resources associated with the data consumer.

Declaration

typealias CGDataConsumerReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Void

Parameters

  • info:

    A generic pointer to private data shared among your callback functions. This is the same pointer you supplied to Init(info:cbks:).

Discussion

When Core Graphics frees a data consumer that has an associated release function, the release function is called.

For information on how to associate your callback function with a data consumer, see init(info:cbks:) and CGDataConsumerCallbacks.

See Also

Creating Data Consumers