diff options
Diffstat (limited to 'public/crtmemdebug.h')
| -rw-r--r-- | public/crtmemdebug.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/public/crtmemdebug.h b/public/crtmemdebug.h new file mode 100644 index 0000000..15ed5ff --- /dev/null +++ b/public/crtmemdebug.h @@ -0,0 +1,33 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef CRTMEMDEBUG_H +#define CRTMEMDEBUG_H +#pragma once + +#ifdef USECRTMEMDEBUG + +#include <crtdbg.h> +#define MEMCHECK CheckHeap() +void CheckHeap( void ); + +#else + +#define MEMCHECK + +#endif + +void InitCRTMemDebug( void ); + + +#endif // CRTMEMDEBUG_H |