Zen API
|
kStatus kAlloc_Get | ( | kAlloc | alloc, |
kSize | size, | ||
void * | mem, | ||
kMemoryAlignment | alignment | ||
) |
Allocates a block of memory.
alloc | Allocator object. |
size | Size of memory to allocate, in bytes. |
mem | Receives pointer to allocated memory (pointer to a pointer). |
alignment | Memory alignment. |