| 47 | extern TestMemoryAllocator* defaultMallocAllocator(); |
| 48 | |
| 49 | class GlobalMemoryAllocatorStash |
| 50 | { |
| 51 | public: |
| 52 | GlobalMemoryAllocatorStash(); |
| 53 | void save(); |
| 54 | void restore(); |
| 55 | |
| 56 | private: |
| 57 | TestMemoryAllocator* originalMallocAllocator; |
| 58 | TestMemoryAllocator* originalNewAllocator; |
| 59 | TestMemoryAllocator* originalNewArrayAllocator; |
| 60 | }; |
| 61 | |
| 62 | class TestMemoryAllocator |
| 63 | { |
nothing calls this directly
no outgoing calls
no test coverage detected