Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

void * kQueue_At | ( | kQueue | queue,
|  | kSize | index
| ) |  |

Returns a pointer to the specified item in the queue buffer.

A debug assertion will be raised if the index argument is greater than or equal to the current queue count (note: count, not capacity).

Parameters

  queue | Queue object.
  index | Item index.

Returns
  Pointer to queue element.