Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kArray2_Attach | ( | kArray2 | array,
|  | void * | items,
|  | kType | itemType,
|  | kSize | length0,
|  | kSize | length1
| ) |  |

Attaches the array to an external item buffer.

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

Parameters

  array | Array object.
  items | External item buffer.
  itemType | Type of array element.
  length0 | Length of first array dimension (outermost).
  length1 | Length of second array dimension (innermost).

Returns
  Operation status.