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

Function setCurrentNewAllocator

src/CppUTest/TestMemoryAllocator.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43static TestMemoryAllocator* currentMallocAllocator = NULLPTR;
44
45void setCurrentNewAllocator(TestMemoryAllocator* allocator)
46{
47 currentNewAllocator = allocator;
48}
49
50TestMemoryAllocator* getCurrentNewAllocator()
51{

Callers 12

restoreMethod · 0.85
startMethod · 0.85
teardownFunction · 0.85
TESTFunction · 0.85
setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected