aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/tier0/mem.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/tier0/mem.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/tier0/mem.h')
-rw-r--r--mp/src/public/tier0/mem.h100
1 files changed, 50 insertions, 50 deletions
diff --git a/mp/src/public/tier0/mem.h b/mp/src/public/tier0/mem.h
index 90434b85..fc8807ac 100644
--- a/mp/src/public/tier0/mem.h
+++ b/mp/src/public/tier0/mem.h
@@ -1,50 +1,50 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: Memory allocation!
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef TIER0_MEM_H
-#define TIER0_MEM_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <stddef.h>
-#ifdef LINUX
-#undef offsetof
-#define offsetof(s,m) (size_t)&(((s *)0)->m)
-#endif
-
-#include "tier0/platform.h"
-
-#if !defined(STATIC_TIER0) && !defined(_STATIC_LINKED)
-
-#ifdef TIER0_DLL_EXPORT
-# define MEM_INTERFACE DLL_EXPORT
-#else
-# define MEM_INTERFACE DLL_IMPORT
-#endif
-
-#else // BUILD_AS_DLL
-
-#define MEM_INTERFACE extern
-
-#endif // BUILD_AS_DLL
-
-
-
-//-----------------------------------------------------------------------------
-// DLL-exported methods for particular kinds of memory
-//-----------------------------------------------------------------------------
-MEM_INTERFACE void *MemAllocScratch( int nMemSize );
-MEM_INTERFACE void MemFreeScratch();
-
-#ifdef _LINUX
-MEM_INTERFACE void ZeroMemory( void *mem, size_t length );
-#endif
-
-
-#endif /* TIER0_MEM_H */
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Memory allocation!
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef TIER0_MEM_H
+#define TIER0_MEM_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include <stddef.h>
+#ifdef LINUX
+#undef offsetof
+#define offsetof(s,m) (size_t)&(((s *)0)->m)
+#endif
+
+#include "tier0/platform.h"
+
+#if !defined(STATIC_TIER0) && !defined(_STATIC_LINKED)
+
+#ifdef TIER0_DLL_EXPORT
+# define MEM_INTERFACE DLL_EXPORT
+#else
+# define MEM_INTERFACE DLL_IMPORT
+#endif
+
+#else // BUILD_AS_DLL
+
+#define MEM_INTERFACE extern
+
+#endif // BUILD_AS_DLL
+
+
+
+//-----------------------------------------------------------------------------
+// DLL-exported methods for particular kinds of memory
+//-----------------------------------------------------------------------------
+MEM_INTERFACE void *MemAllocScratch( int nMemSize );
+MEM_INTERFACE void MemFreeScratch();
+
+#ifdef _LINUX
+MEM_INTERFACE void ZeroMemory( void *mem, size_t length );
+#endif
+
+
+#endif /* TIER0_MEM_H */