summaryrefslogtreecommitdiff
path: root/public/crtmemdebug.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/crtmemdebug.h
downloadarchived-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.h33
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