29 #ifndef __MemoryNedAlloc_H__
30 #define __MemoryNedAlloc_H__
32 #if OGRE_MEMORY_ALLOCATOR == OGRE_MEMORY_ALLOCATOR_NED
49 static void* allocBytes(
size_t count,
50 const char* file,
int line,
const char* func);
51 static void deallocBytes(
void* ptr);
52 static void* allocBytesAligned(
size_t align,
size_t count,
53 const char* file,
int line,
const char* func);
54 static void deallocBytesAligned(
size_t align,
void* ptr);
70 const char* file = 0,
int line = 0,
const char* func = 0)
81 return std::numeric_limits<size_t>::max();
102 template <
size_t Alignment = 0>
108 [Alignment <= 128 && ((Alignment & (Alignment-1)) == 0) ? +1 : -1];
111 const char* file = 0,
int line = 0,
const char* func = 0)
124 return std::numeric_limits<size_t>::max();
143 #endif // __MemoryNedAlloc_H__