CMSimpleQueueGetHead(_:)
Returns the element at the head of the queue.
Declaration
func CMSimpleQueueGetHead(_ queue: CMSimpleQueue) -> UnsafeRawPointer?Parameters
- queue:
The queue from which to get the head element. Must not be
NULL.
Return Value
The head element. NULL if the queue was empty, or if there was some other error.
Discussion
If the queue is empty, the function returns NULL.