Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kArray1_AttachT | ( |  | kArray1_array,
|  |  | TPtr_items,
|  |  | kType_itemType,
|  |  | kSize_length
| ) |  |
| related

Attaches the array to an external item buffer.

Attached item buffers are not freed when the array is destroyed.

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

  kArray1_array | Array object.
  TPtr_items | Strongly-typed pointer to external item buffer.
  kType_itemType | Type of array element.
  kSize_length | Length of array.

Returns
  Operation status.