Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kMap_Construct | ( | kMap * | map,
|  | kType | keyType,
|  | kType | valueType,
|  | kSize | initialCapacity,
|  | kAlloc | allocator
| ) |  |

Constructs a kMap object.

Parameters

  map | Map object.
  keyType | Type of map key.
  valueType | Type of map value.
  initialCapacity | Capacity initially reserved for map items.
  allocator | Memory allocator.

Returns
  Operation status.