MCPcopy Create free account
hub / github.com/beefytech/Beef / operator new

Function operator new

BeefySysLib/util/AllocDebug.cpp:395–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393#undef new
394
395void* __cdecl operator new(std::size_t size)
396{
397#ifdef USE_STOMP
398 return StompAlloc((int)size);
399#else
400 return DbgHeapAlloc(size, "", 0);
401#endif
402}
403
404void* __cdecl operator new(std::size_t size, const char* fileName, int lineNum)
405{

Callers

nothing calls this directly

Calls 2

DbgHeapAllocFunction · 0.85
StompAllocFunction · 0.70

Tested by

no test coverage detected