37 #include <stk_util/util/config_eastl.h> 38 #include <stk_util/util/allocator_eastl.h> 51 #ifndef EASTL_USER_DEFINED_ALLOCATOR // If the user hasn't declared that he has defined an allocator implementation elsewhere... 61 EASTL_API
allocator* GetDefaultAllocator()
63 return gpDefaultAllocator;
66 EASTL_API allocator* SetDefaultAllocator(allocator* pAllocator)
68 allocator*
const pPrevAllocator = gpDefaultAllocator;
69 gpDefaultAllocator = pAllocator;
70 return pPrevAllocator;
76 #endif // EASTL_USER_DEFINED_ALLOCATOR
EASTL_API allocator gDefaultAllocator
EA Standard Template Library.