Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
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.

Parameters
arrayReceives the constructed object.
itemTypeType of array element.
length0Length of first array dimension (outermost).
length1Length of second array dimension (innermost).
allocatorPrimary memory allocator (or kNULL for default).
valueAllocatorData array allocator (or kNULL for default).
valueAlignmentMemory alignment for the start address of values.
Returns
Operation status.