diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/crtmemdebug.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
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 |