Memory_Manager_Macros

Macros used in the memory manager.

_CRY_DEFAULT_MALLOC_ALIGNMENT Macro
C++
#define _CRY_DEFAULT_MALLOC_ALIGNMENT 4
File

CryMemoryManager.h

_CRY_MEMORY_ALLOCATOR Macro
C++
#define _CRY_MEMORY_ALLOCATOR 
File

CryMemoryAllocator.h

Description

Part of this code coming from STLPort alloc

Copyright (c) 1996,1997 Silicon Graphics Computer Systems, Inc.

Copyright (c) 1997 Moscow Center for SPARC Technology

Copyright (c) 1999 Boris Fomitchev

_free Macro
C++
#define _free ::free
File

CryMemoryAllocator.h

_malloc Macro
C++
#define _malloc ::malloc
File

CryMemoryAllocator.h

calloc Macro
C++
#define calloc CryModuleCalloc
File

CryMemoryManager.h

CRY_MEM_USAGE_API Macro
C++
#define CRY_MEM_USAGE_API extern "C" DLL_EXPORT
File

CryMemoryManager.h

Description

Cry Memory Manager accessible in all build modes.

CRY_MEMORY_ALLOCATOR Macro
C++
#define CRY_MEMORY_ALLOCATOR 
File

CryMemoryAllocator.h

Description

OS400

CRY_STL_ALLOC Macro
C++
#define CRY_STL_ALLOC 
File

CryMemoryAllocator.h

Description

if ( defined(WIN32) || defined(WIN64) ) && ( defined(_DEBUG) || defined(DEBUG) ) undef CRY_MEMORY_ALLOCATOR define _CRTDBG_MAP_ALLOC include "crtdbg.h" else

CRYMEMORYMANAGER_API Macro
C++
#define CRYMEMORYMANAGER_API DLL_IMPORT
File

CryMemoryManager.h

CRYMM_INLINE Macro
C++
#define CRYMM_INLINE ILINE
File

CryMemoryManager.h

CRYMM_THROW Macro
C++
#define CRYMM_THROW throw()
File

CryMemoryManager.h

CRYMM_THROW_BAD_ALLOC Macro
C++
#define CRYMM_THROW_BAD_ALLOC throw()
File

CryMemoryManager.h

DLL_ENTRY_CRYCRTFREE Macro
C++
#define DLL_ENTRY_CRYCRTFREE "CrySystemCrtFree"
File

CryMemoryManager_impl.h

DLL_ENTRY_CRYCRTMALLOC Macro
C++
#define DLL_ENTRY_CRYCRTMALLOC "CrySystemCrtMalloc"
File

CryMemoryManager_impl.h

DLL_ENTRY_CRYCRTSIZE Macro
C++
#define DLL_ENTRY_CRYCRTSIZE "CrySystemCrtSize"
File

CryMemoryManager_impl.h

DLL_ENTRY_CRYFREE Macro
C++
#define DLL_ENTRY_CRYFREE "CryFree"
File

CryMemoryManager_impl.h

DLL_ENTRY_CRYGETMEMSIZE Macro
C++
#define DLL_ENTRY_CRYGETMEMSIZE "CryGetMemSize"
File

CryMemoryManager_impl.h

DLL_ENTRY_CRYMALLOC Macro
C++
#define DLL_ENTRY_CRYMALLOC "CryMalloc"
File

CryMemoryManager_impl.h

DLL_ENTRY_CRYREALLOC Macro
C++
#define DLL_ENTRY_CRYREALLOC "CryRealloc"
File

CryMemoryManager_impl.h

DLL_ENTRY_GETMEMMANAGER Macro
C++
#define DLL_ENTRY_GETMEMMANAGER "CryGetIMemoryManagerInterface"
File

CryMemoryManager_impl.h

free Macro
C++
#define free CryModuleCRTFree
File

CryMemoryManager.h

malloc Macro
C++
#define malloc CryModuleCRTMalloc
File

CryMemoryManager.h

MASK_COUNT Macro
C++
#define MASK_COUNT 0x000FFFFF
File

CryMemoryAllocator.h

MASK_NEXT Macro
C++
#define MASK_NEXT 0xFFFFF000
File

CryMemoryAllocator.h

MASK_SHIFT Macro
C++
#define MASK_SHIFT 12
File

CryMemoryAllocator.h

MASK_VALUE Macro
C++
#define MASK_VALUE 0xFFF
File

CryMemoryAllocator.h

MEMMAN_METHOD Macro
C++
#define MEMMAN_METHOD(...) virtual __VA_ARGS__ = 0
File

CryMemoryManager.h

NUM_OBJ Macro
C++
#define NUM_OBJ 64
File

CryMemoryAllocator.h

realloc Macro
C++
#define realloc CryModuleCRTRealloc
File

CryMemoryManager.h

S_FREELIST_INDEX Macro
C++
#define S_FREELIST_INDEX(__bytes) ((__bytes - size_t(1)) >> (int)_ALIGN_SHIFT)
File

CryMemoryAllocator.h

STLALLOCATOR_CLEANUP Macro
C++
#define STLALLOCATOR_CLEANUP 
File

CryMemoryManager.h

TRACEHEAP_AUTOCOLOR Macro
C++
#define TRACEHEAP_AUTOCOLOR(color) STraceHeapAllocatorAutoColor _auto_color_(color);
File

CryMemoryManager.h

TRACK_NODE_ALLOC_WITH_MEMREPLAY Macro
C++
#define TRACK_NODE_ALLOC_WITH_MEMREPLAY 1
File

CryMemoryAllocator.h