Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kArrayList_AttachT | ( |  | kArrayList_list,
|  |  | TPtr_items,
|  |  | kType_itemType,
|  |  | kSize_capacity
| ) |  |
| related

Attaches the list object to an external buffer.

The list count is set to the same value as the list capacity argument.

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

Parameters

  kArrayList_list | List object.
  TPtr_items | Strongly-typed pointer to external item buffer.
  kType_itemType | Type of list element.
  kSize_capacity | List capacity.

Returns
  Operation status.