Contents

CMBufferCompareCallback

Callback that compares one CMBuffer with another.

Declaration

typealias CMBufferCompareCallback = (CMBuffer, CMBuffer, UnsafeMutableRawPointer?) -> CFComparisonResult

Discussion

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).

See Also

Properties