A structure, which is useful to maintain a twice connected list: A list of Chunks and a list of free/occupied chunks. More...
#include <CDebuggingMemoryManager.h>
Public Attributes | |
lTChunk * | mPrev |
Previous Item in List. | |
lTChunk * | mNext |
Following Item in List. | |
lTChunk * | mPreceding |
Previous Item in MEMORY. | |
lTChunk * | mFollowing |
Following Item in MEMORY. | |
CDebuggingMemoryManagerSize | mSize |
Size of this Chunk. | |
long | mMagic |
We will add to this some stuff to check if the end of this has been overwritten. |
A structure, which is useful to maintain a twice connected list: A list of Chunks and a list of free/occupied chunks.
This should normally be a local type, but there was an internal compiler error in GNU C++.
long lTChunk::mMagic |
We will add to this some stuff to check if the end of this has been overwritten.
Magic number, to see, if this Pointer was allocated using this->getMem()
CDebuggingMemoryManagerSize lTChunk::mSize |
Size of this Chunk.
The Size could be deduced from mFollowing, but I consider this way as more general and cleaner.