heap_allocator_inline.h File Reference

Go to the source code of this file.

Defines

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


Define Documentation

#define internalAssert  )     ((void)0)
 

Definition at line 32 of file src/memory/heap_allocator_inline.h.

#define internalAssert  )     ((void)0)
 

Definition at line 32 of file src/memory/heap_allocator_inline.h.

Referenced by NLMISC::CHeapAllocator::allocate(), NLMISC::CHeapAllocator::CHeapAllocator(), NLMISC::CHeapAllocator::erase(), NLMEMORY::CHeapAllocator::find(), 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 src/memory/heap_allocator_inline.h.

#define NL_ALLOC_STOP   abort()
 

Definition at line 60 of file src/memory/heap_allocator_inline.h.

Referenced by NLMISC::CHeapAllocator::allocate(), NLMISC::CHeapAllocator::checkNode(), NLMEMORY::CHeapAllocator::erase(), NLMISC::CHeapAllocator::free(), NLMEMORY::CHeapAllocator::insert(), and NLMEMORY::CHeapAllocator::~CHeapAllocator().

#define NL_UPDATE_MAGIC_NUMBER node   ) 
 

Value:

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

Definition at line 42 of file src/memory/heap_allocator_inline.h.

#define NL_UPDATE_MAGIC_NUMBER node   ) 
 

Value:

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

Definition at line 42 of file src/memory/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 src/memory/heap_allocator_inline.h.

#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 src/memory/heap_allocator_inline.h.

Referenced by NLMEMORY::CHeapAllocator::computeCRC32(), NLMISC::CHeapAllocator::erase(), NLMEMORY::CHeapAllocator::getFirstNode(), and NLMISC::CHeapAllocator::insert().


Generated on Tue Mar 16 06:42:36 2004 for NeL by doxygen 1.3.6