Macros used in the memory manager.
#define _CRY_DEFAULT_MALLOC_ALIGNMENT 4
CryMemoryManager.h
#define _CRY_MEMORY_ALLOCATOR
CryMemoryAllocator.h
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
#define _free ::free
CryMemoryAllocator.h
#define _malloc ::malloc
CryMemoryAllocator.h
#define calloc CryModuleCalloc
CryMemoryManager.h
#define CRY_MEM_USAGE_API extern "C" DLL_EXPORT
CryMemoryManager.h
Cry Memory Manager accessible in all build modes.
#define CRY_MEMORY_ALLOCATOR
CryMemoryAllocator.h
OS400
#define CRY_STL_ALLOC
CryMemoryAllocator.h
if ( defined(WIN32) || defined(WIN64) ) && ( defined(_DEBUG) || defined(DEBUG) ) undef CRY_MEMORY_ALLOCATOR define _CRTDBG_MAP_ALLOC include "crtdbg.h" else
#define CRYMEMORYMANAGER_API DLL_IMPORT
CryMemoryManager.h
#define CRYMM_INLINE ILINE
CryMemoryManager.h
#define CRYMM_THROW throw()
CryMemoryManager.h
#define CRYMM_THROW_BAD_ALLOC throw()
CryMemoryManager.h
#define DLL_ENTRY_CRYCRTFREE "CrySystemCrtFree"
CryMemoryManager_impl.h
#define DLL_ENTRY_CRYCRTMALLOC "CrySystemCrtMalloc"
CryMemoryManager_impl.h
#define DLL_ENTRY_CRYCRTSIZE "CrySystemCrtSize"
CryMemoryManager_impl.h
#define DLL_ENTRY_CRYFREE "CryFree"
CryMemoryManager_impl.h
#define DLL_ENTRY_CRYGETMEMSIZE "CryGetMemSize"
CryMemoryManager_impl.h
#define DLL_ENTRY_CRYMALLOC "CryMalloc"
CryMemoryManager_impl.h
#define DLL_ENTRY_CRYREALLOC "CryRealloc"
CryMemoryManager_impl.h
#define DLL_ENTRY_GETMEMMANAGER "CryGetIMemoryManagerInterface"
CryMemoryManager_impl.h
#define free CryModuleCRTFree
CryMemoryManager.h
#define malloc CryModuleCRTMalloc
CryMemoryManager.h
#define MASK_COUNT 0x000FFFFF
CryMemoryAllocator.h
#define MASK_NEXT 0xFFFFF000
CryMemoryAllocator.h
#define MASK_SHIFT 12
CryMemoryAllocator.h
#define MASK_VALUE 0xFFF
CryMemoryAllocator.h
#define MEMMAN_METHOD(...) virtual __VA_ARGS__ = 0
CryMemoryManager.h
#define NUM_OBJ 64
CryMemoryAllocator.h
#define realloc CryModuleCRTRealloc
CryMemoryManager.h
#define S_FREELIST_INDEX(__bytes) ((__bytes - size_t(1)) >> (int)_ALIGN_SHIFT)
CryMemoryAllocator.h
#define STLALLOCATOR_CLEANUP
CryMemoryManager.h
#define TRACEHEAP_AUTOCOLOR(color) STraceHeapAllocatorAutoColor _auto_color_(color);
CryMemoryManager.h
#define TRACK_NODE_ALLOC_WITH_MEMREPLAY 1
CryMemoryAllocator.h