Contents

CGDataProviderReleaseInfoCallback

A callback function that releases any private data or resources associated with the data provider.

Declaration

typealias CGDataProviderReleaseInfoCallback = (UnsafeMutableRawPointer?) -> Void

Parameters

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.

See Also

Creating Sequential-Access Data Providers