|
Zen API
|
| kStatus kArray2_ConstructEx | ( | kArray2 * | array, |
| kType | itemType, | ||
| kSize | length0, | ||
| kSize | length1, | ||
| kAlloc | allocator, | ||
| kAlloc | valueAllocator, | ||
| kMemoryAlignment | valueAlignment = kALIGN_ANY |
||
| ) |
Constructs a kArray2 object using a separate allocator for data array memory.
| array | Receives the constructed object. |
| itemType | Type of array element. |
| length0 | Length of first array dimension (outermost). |
| length1 | Length of second array dimension (innermost). |
| allocator | Primary memory allocator (or kNULL for default). |
| valueAllocator | Data array allocator (or kNULL for default). |
| valueAlignment | Memory alignment for the start address of values. |