Zen API
|
kStatus kUserAlloc_Construct | ( | kUserAlloc * | object, |
kApiMemAllocFx | allocFx, | ||
kApiMemFreeFx | freeFx, | ||
kPointer | provider, | ||
kAlloc | allocator | ||
) |
Constructs a new kUserAlloc instance.
object | Receives the constructed kUserAlloc instance. |
allocFx | User-defined memory allocation function. |
freeFx | User-defined memory free function. |
provider | User-defined context pointer. |
allocator | Memory allocator for this object instance (or kNULL for default). |