This function is ALWAYS called whenever operator new or new[] is called on ANY object. It will invoke whater function fnptr_Alloc points to Pointer to the allocated memory

Return TypeFunction nameArguments
void*hz_mem_allocate(uint32_t,)

Declared in file: hzBasedefs.h
Defined in file : hzMemory.cpp

Function Logic:

Function body:

void* hz_mem_allocate (uint32_t size)
{
   //  Category: Memory
   //  
   //  This function is ALWAYS called whenever operator new or new[] is called on ANY object. It will invoke whater function fnptr_Alloc points to
   //  
   //  Argument: size Requested number of bytes for allocation
   //  
   //  Returns: Pointer to the allocated memory
   return fnptr_Alloc(size) ;
}