Data Fields | |
di_mem_area * | next |
di_mem_area * | prev |
size_t | index |
size_t | free |
size_t | allocated |
char | mem [MEM_AREA_SIZE] |
For internal use only.
the next mem area
the previous mem area
size_t index |
the current index into the "mem" array
size_t free |
the number of free bytes in this mem area
size_t allocated |
the number of atoms allocated from this area
char mem[MEM_AREA_SIZE] |
the mem array from which atoms get allocated the actual size of this array is determined by the mem chunk "area_size". ANSI says that it must be declared to be the maximum size it can possibly be (even though the actual size may be less).