Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kQueue_AtT | ( |  | kQueue_queue,
|  |  | kSize_index,
|  |  | T
| ) |  |
| related

Returns a strongly-typed 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), or if the size of the specified item type is not equal to the size of the collection item type.

Parameters

  kQueue_queue | Queue object.
  kSize_index | Item index.
  T | Item type identifier (e.g., k32s).

Returns
  Strongly-typed pointer to queue element.