Example #1
0
void * _cdecl std::calloc(size_t num, size_t size)
{
	void* mem;
	if ((mem = Malloc.alloc(num * size, false)) != 0)
		memset(mem,0,Malloc.getPtrSize(mem));
	return mem;
}
Example #2
0
void* _cdecl operator new[](size_t size)
{
	return Malloc.alloc(size, true);
}
Example #3
0
void * _cdecl std::malloc(size_t size)
{
	return Malloc.alloc(size, false);
}
Example #4
0
void* _cdecl operator new(size_t size)
{
	return Malloc.alloc(size, false);
}