MCPcopy Create free account
hub / github.com/cpputest/cpputest / defaultNewAllocator

Function defaultNewAllocator

src/CppUTest/TestMemoryAllocator.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61TestMemoryAllocator* defaultNewAllocator()
62{
63 static TestMemoryAllocator allocator("Standard New Allocator", "new", "delete");
64 return &allocator;
65}
66
67void setCurrentNewArrayAllocator(TestMemoryAllocator* allocator)
68{

Callers 6

isNewAllocatorMethod · 0.85
setupFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected