예제 #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;
}
예제 #2
0
void* _cdecl operator new[](size_t size)
{
	return Malloc.alloc(size, true);
}
예제 #3
0
void * _cdecl std::malloc(size_t size)
{
	return Malloc.alloc(size, false);
}
예제 #4
0
void* _cdecl operator new(size_t size)
{
	return Malloc.alloc(size, false);
}