CGDataProviderReleaseInfoCallback
A callback function that releases any private data or resources associated with the data provider.
Declaration
typealias CGDataProviderReleaseInfoCallback = (UnsafeMutableRawPointer?) -> VoidParameters
- info:
A generic pointer to private information shared among your callback functions. This is the same pointer you supplied to Init(version:getbytes:skipforward:rewind:releaseinfo:).
Discussion
When Core Graphics frees a data provider that has an associated release function, the release function is called.
For information on how to associate your callback function with a data provider, see CGDataProvider and CGDataProviderSequentialCallbacks.