diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-C549EC51-D81F-5AEC-80EA-EF83B2D9AF51.dita --- a/Symbian3/PDK/Source/GUID-C549EC51-D81F-5AEC-80EA-EF83B2D9AF51.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-C549EC51-D81F-5AEC-80EA-EF83B2D9AF51.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,12 +1,12 @@ - - - - - + + + + + Structure of a heap

A heap simply consists of two lists of cells; one is the list of allocated cells and the other the list of free cells. Each list is anchored in the heap object.

A cell consists of a cell header followed by the body of the cell itself. The body of the cell is the area of memory which is considered allocated.

The cell header is a struct of type RHeap::SCell defined as part of the RHeap class in e32std.h.

The following diagram shows a typical mix of free and allocated cells.

\ No newline at end of file