OpenBarnyard
 
Loading...
Searching...
No Matches
TMemoryDebugOff.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// Include this file to disable memory debugging.
3//
4// Note: This file should be the last include in order to make sure it works.
5// Include TMemoryDebugOn.h to enable debugging mode.
6//-----------------------------------------------------------------------------
7
8#ifdef TOSHI_PROFILER_MEMORY_ENABLED
9
10# undef new
11# undef TMalloc1
12# undef TMalloc2
13# undef TMalloc
14# undef TOSHI_PROFILER_MEMORY_ENABLED
15
16#endif // TOSHI_PROFILER_MEMORY_ENABLED