Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kAlloc_Get ( kAlloc  alloc,
kSize  size,
void *  mem,
kMemoryAlignment  alignment 
)

Allocates a block of memory.

Parameters
allocAllocator object.
sizeSize of memory to allocate, in bytes.
memReceives pointer to allocated memory (pointer to a pointer).
alignmentMemory alignment.
Returns
Operation status.