CTRunDelegateDeallocateCallback
Defines a pointer to a function that is invoked when a CTRunDelegate object is deallocated.
Declaration
typealias CTRunDelegateDeallocateCallback = (UnsafeMutableRawPointer) -> VoidParameters
- refCon:
The reference-constant value supplied to the Ctrundelegatecreate(_:_:) function when the run delegate was created.
Discussion
You would declare the deallocation function like this if you were to name it MyDeallocationCallback: