diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/vallocator.cpp | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/vallocator.cpp')
| -rw-r--r-- | sp/src/public/vallocator.cpp | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/sp/src/public/vallocator.cpp b/sp/src/public/vallocator.cpp index f19fe57a..be717033 100644 --- a/sp/src/public/vallocator.cpp +++ b/sp/src/public/vallocator.cpp @@ -1,36 +1,36 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//
-//=============================================================================//
-
-#if !defined(_STATIC_LINKED) || defined(_SHARED_LIB)
-
-#include <malloc.h>
-#include "vallocator.h"
-#include "basetypes.h"
-
-// memdbgon must be the last include file in a .cpp file!!!
-#include "tier0/memdbgon.h"
-
-VStdAllocator g_StdAllocator;
-
-void* VStdAllocator::Alloc(unsigned long size)
-{
- if(size)
- {
- void *ret = malloc(size);
- return ret;
- }
- else
- return 0;
-}
-
-void VStdAllocator::Free(void *ptr)
-{
- free(ptr);
-}
-
-#endif // !_STATIC_LINKED || _SHARED_LIB
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// + +#if !defined(_STATIC_LINKED) || defined(_SHARED_LIB) + +#include <malloc.h> +#include "vallocator.h" +#include "basetypes.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +VStdAllocator g_StdAllocator; + +void* VStdAllocator::Alloc(unsigned long size) +{ + if(size) + { + void *ret = malloc(size); + return ret; + } + else + return 0; +} + +void VStdAllocator::Free(void *ptr) +{ + free(ptr); +} + +#endif // !_STATIC_LINKED || _SHARED_LIB |