Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kArray2_AttachT | ( |  | kArray2_array,
|  |  | TPtr_items,
|  |  | kType_itemType,
|  |  | kSize_length0,
|  |  | kSize_length1
| ) |  |
| 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

  kArray2_array | Array object.
  TPtr_items | Strongly-typed pointer to external item buffer.
  kType_itemType | Type of array element.
  kSize_length0 | Length of first array dimension (outermost).
  kSize_length1 | Length of second array dimension (innermost).

Returns
  Operation status.