CGBitmapContextReleaseDataCallback
A callback function used to release data associate with the bitmap context.
Declaration
typealias CGBitmapContextReleaseDataCallback = (UnsafeMutableRawPointer?, UnsafeMutableRawPointer?) -> VoidDiscussion
The releaseInfo parameter contains the contextual data that you passed to the CGContext/init(data:width:height:bitsPerComponent:bytesPerRow:space:bitmapInfo:releaseCallback:releaseInfo:) function. The data parameter contains a pointer to the bitmap data for you to release.