Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kObject_Init | ( | kObject | object,
|  | kType | type,
|  | kAlloc | alloc
| ) |  |
| protected

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

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

Parameters

  object | Object instance (not yet initialized).
  type | Object type (required).
  alloc | Memory allocator (required).

Returns
  Operation status.