# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

heap_allocator_inline.h File Reference

Go to the source code of this file.

Defines

#define internalAssert(a)   ((void)0)
#define NL_UPDATE_MAGIC_NUMBER(node)
#define NL_UPDATE_MAGIC_NUMBER_FREE_NODE(node)
#define NL_ALLOC_STOP   abort()


Define Documentation

#define internalAssert      ((void)0)
 

Definition at line 32 of file include/nel/misc/heap_allocator_inline.h.

Referenced by NLMISC::CHeapAllocator::allocate, NLMISC::CHeapAllocator::CHeapAllocator, NLMEMORY::CHeapAllocator::debugGetAllocatedMemoryByCategory, NLMISC::CHeapAllocator::erase, NLMEMORY::CHeapAllocator::getNode, NLMISC::CHeapAllocator::initEmptyBlock, NLMISC::CHeapAllocator::internalCheckHeap, NLMISC::CHeapAllocator::mergeNode, and NLMISC::CHeapAllocator::splitNode.

#define NL_ALLOC_STOP   abort()
 

Definition at line 60 of file include/nel/misc/heap_allocator_inline.h.

#define NL_UPDATE_MAGIC_NUMBER node   
 

Value:

{\
                uint32 crc = evalMagicNumber (node);\
                *(node->EndMagicNumber) = crc;\
        }

Definition at line 42 of file include/nel/misc/heap_allocator_inline.h.

Referenced by NLMISC::CHeapAllocator::allocate, NLMISC::CHeapAllocator::free, NLMISC::CHeapAllocator::freeAll, NLMISC::CHeapAllocator::initEmptyBlock, NLMISC::CHeapAllocator::mergeNode, and NLMISC::CHeapAllocator::splitNode.

#define NL_UPDATE_MAGIC_NUMBER_FREE_NODE node   
 

Value:

{\
                if (node != &_NullNode.FreeNode) \
                { \
                        uint32 crc = evalMagicNumber (getNode (node));\
                        *(getNode (node)->EndMagicNumber) = crc;\
                } \
        }

Definition at line 47 of file include/nel/misc/heap_allocator_inline.h.

Referenced by NLMEMORY::CHeapAllocator::computeCRC32, NLMISC::CHeapAllocator::erase, NLMEMORY::CHeapAllocator::getNextNode, NLMISC::CHeapAllocator::insert, and NLMEMORY::CHeapAllocator::isNodeBlack.