Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kAlloc_GetObject | ( | kAlloc | alloc,
|  | kType | type,
|  | void * | mem
| ) |  |

Allocates a block of memory large enough for an object of the specified type.

Parameters

  alloc | Allocator object.
  type | Object type for which memory should be allocated.
  mem | Receives pointer to allocated memory (pointer to a pointer).

Returns
  Operation status.