Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kAlloc_Init | ( | kAlloc | alloc,
|  | kType | type,
|  | kAlloc | allocator
| ) |  |
| protected

Protected method called by derived classes to initialize the kAlloc base class.

This method should typically be called as the first statement in derived initializer methods.

Parameters

  alloc | Allocator instance (not yet initialized).
  type | Object type (required).
  allocator | Memory allocator for the allocator itself (required).

Returns
  Operation status.