Example #1
0
    //----------------------------------------------------------------------
    void* CManager::Debug_Malloc( size_t size, const char* file, u64 line )
    {
        void* mem = InternalAlloc(size);
        MEM_TRACKING_ON_MALLOC( mem, size, file, line );
        return mem;

    }
void* MemoryManager::AllocateArray(size_t nSize)
{
	return InternalAlloc(nSize,ALLOC_NEWARRAY);
}
Example #3
0
 //----------------------------------------------------------------------
 void* CManager::Malloc( size_t size )
 {
     void* mem = InternalAlloc(size);
     return mem;
 }
void* MemoryManager::Allocate(size_t nSize)
{
	return InternalAlloc(nSize,ALLOC_NEW);
}