29#ifndef _CEGUIMemoryStdAllocator_h_
30#define _CEGUIMemoryStdAllocator_h_
41 static inline void* allocateBytes(
size_t count)
44#if defined(CEGUI_CUSTOM_ALLOCATORS_USAGE)
47 getAllocationSize(
count);
52 static inline void deallocateBytes(
void* ptr)
54#if defined(CEGUI_CUSTOM_ALLOCATORS_USAGE)
60#elif defined(__linux__)
62#elif defined(__APPLE__)
65 getAllocationSize((
size_t)0 -
count);
78 return std::numeric_limits<size_t>::max();
81 static inline size_t getAllocationSize(
size_t adjust = 0)
86#if defined(CEGUI_CUSTOM_ALLOCATORS_USAGE)
89#elif defined(_M_AMD64)
91#elif defined(__GNUC__)
99CEGUI_SET_DEFAULT_ALLOCATOR(StdAllocator)
Definition MemoryStdAllocator.h:39
static size_t getMaxAllocationSize()
Get the maximum size of a single allocation.
Definition MemoryStdAllocator.h:76
base class for properties able to do native set/get
Definition TypedProperty.h:50
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1