Mount Fuji Engine  0.8b
void * MFHeap_AllocAndZero ( size_t  bytes,
MFHeap pHeap = NULL 
)

Allocates a new memory block of the specified size and zero's the contents.

Parameters
bytesNumber of bytes to allocate for the new buffer.
pHeapOptional pointer to an MFHeap where the memory will be allocated. If pHeap is set to NULL, the current 'Active' heap will be used.
Returns
A pointer to a new area in memory ready for use.
See Also
MFHeap_Alloc()
MFHeap_Realloc()
MFHeap_Free()