Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kList_AddT | ( |  | kList_list,
|  |  | TPtr_itemContent,
|  |  | kListItemPtr_item
| ) |  |
| related

Adds a new item to the end of the list.

Increases list capacity, if necessary.

A debug assertion will be raised if the size of the specified item type is not equal to the size of the collection item type.

Parameters

  kList_list | List object.
  TPtr_itemContent | Strongly-typed pointer to item content that will be copied (by value) into the list.
  kListItemPtr_item | Optionally receives pointer to newly-inserted item.

Returns
  Operation status.