30 #ifndef __MemoryNedPooling_H__
31 #define __MemoryNedPooling_H__
33 #if OGRE_MEMORY_ALLOCATOR == OGRE_MEMORY_ALLOCATOR_NEDPOOLING
50 static void* allocBytes(
size_t count,
51 const char* file,
int line,
const char* func);
52 static void deallocBytes(
void* ptr);
53 static void* allocBytesAligned(
size_t align,
size_t count,
54 const char* file,
int line,
const char* func);
55 static void deallocBytesAligned(
size_t align,
void* ptr);
71 const char* file = 0,
int line = 0,
const char* func = 0)
82 return std::numeric_limits<size_t>::max();
104 template <
size_t Alignment = 0>
110 [Alignment <= 128 && ((Alignment & (Alignment-1)) == 0) ? +1 : -1];
113 const char* file = 0,
int line = 0,
const char* func = 0)
126 return std::numeric_limits<size_t>::max();
146 #endif // __MemoryNedPooling_H__