init
This commit is contained in:
21
tier0/mem.cpp
Normal file
21
tier0/mem.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "tier0/mem.h"
|
||||
#include "stdlib.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// These functions copy over libc memory functions
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void* V_malloc(int nSize)
|
||||
{
|
||||
return malloc(nSize);
|
||||
}
|
||||
|
||||
void V_free(void *pMem)
|
||||
{
|
||||
return free(pMem);
|
||||
}
|
||||
|
||||
void* V_realloc(void *pMem, int nSize)
|
||||
{
|
||||
return realloc(pMem, nSize);
|
||||
}
|
||||
Reference in New Issue
Block a user