A prototype for a function callback that releases the given data.
SDKs
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
typealias CFAllocatorReleaseCallBack = (UnsafeRawPointer?) -> Void
Parameters
info
The data to be released.
Discussion
A prototype for a function callback that releases the data pointed to by the info
field. In implementing this function, release (or free) the data you have defined for the allocator context.