zStatus zCalloc(void* mem, z32u count, zUIntPtr size);
|
Parameters |
Description |
|
void* mem |
Receives a pointer to the memory block. |
|
z32u count |
Count of items for which memory is required. |
|
zUIntPtr size |
Size of each item, in bytes. |
Allocates and zero-initializes block of memory from the heap used by the zApi library.
Memory allocated with this function should be freed with the zFree function.
zApi.h