Zen API
 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
allocAllocator object.
typeObject type for which memory should be allocated.
memReceives pointer to allocated memory (pointer to a pointer).
Returns
Operation status.