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

Allocates a new memory block of the specified size.

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_AllocAndZero()
MFHeap_Realloc()
MFHeap_Free()