Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kCloneItems | ( | kType | type,
|  | void * | dest,
|  | const void * | src,
|  | kSize | count,
|  | kAlloc | allocator
| ) |  |

Performs a deep copy of a generic array of items.

Value types are copied; reference types are cloned.

Parameters

  type | Item type.
  dest | Destination array of items.
  src | Source array of items.
  count | Count of items.
  allocator | Memory allocator.

Returns
  Operation status.