Zen API
|
kStatus kCloneItemsEx | ( | kType | type, |
void * | dest, | ||
const void * | src, | ||
kSize | count, | ||
kAlloc | destAlloc, | ||
kAlloc | srcAlloc | ||
) |
Performs a deep copy of a generic array of items.
Value types are copied; reference types are cloned. If source value types were allocated in foreign memory, will attempt to export values from foreign memory to local memory using the source allocator's kAlloc_Export implementation.
type | Item type. |
dest | Destination array of items. |
src | Source array of items. |
count | Count of items. |
destAlloc | Destination memory allocator. |
srcAlloc | Source memory allocator. |