Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kAlloc_VGet | ( | kAlloc | alloc,
|  | kSize | size,
|  | void * | mem
| ) |  |
| protected

Protected virtual method that allocates memory.

This method can be overridden in derived classes to implement custom memory allocation.

Parameters

  alloc | Allocator.
  size | Size of memory to allocate, in bytes.
  mem | Receives pointer to allocated memory (pointer to a pointer).

Returns
  Operation status.