CMBufferCompareCallback
Callback that compares one CMBuffer with another.
Declaration
typealias CMBufferCompareCallback = (CMBuffer, CMBuffer, UnsafeMutableRawPointer?) -> CFComparisonResultDiscussion
You can use a CFComparatorFunction as a callback.
Callback parameters
- buf1
The first buffer being compared.
- buf2
The second buffer being compared.
- refcon
The contextual data from the client (which may be
NULL).