Go to the documentation of this file.
7 #define P6_DECL_UEFI_ALLOCATOR \
8 void* operator new(size_t size,const std::nothrow_t& tag); \
9 void* operator new[](size_t count,const std::nothrow_t& tag); \
10 void operator delete(void *pMem)
20 #define P6_IMPLEMENT_UEFI_ALLOCATOR(classname) \
21 void* classname::operator new(size_t size,const std::nothrow_t& tag) \
25 p6AllocMemory(size,&pMem); \
28 void* classname::operator new[](size_t count,const std::nothrow_t& tag) \
32 p6AllocMemory(count,&pMem); \
35 void classname::operator delete(void *pMem) \
41 #define P6_DECL_UEFI_ALLOCATOR
42 #define P6_IMPLEMENT_UEFI_ALLOCATOR(classname)
48 void*
operator new (
size_t count,
const std::nothrow_t& tag);
49 void*
operator new[](
size_t count,
const std::nothrow_t& tag);
50 void operator delete(
void *p);