SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
SprMPool Struct Reference

Data Fields

void * free_list
 List of free elements. More...
 
SprMemPoolBlock * mblock
 List of allocate memory blocks. More...
 
size_t el_size
 Size of one object. More...
 
size_t link_ptr_offs
 

Detailed Description

Basic structure for dealing with large pools of identical sized objects.

Field Documentation

void* SprMPool::free_list

List of free elements.

SprMemPoolBlock* SprMPool::mblock

List of allocate memory blocks.

size_t SprMPool::el_size

Size of one object.

size_t SprMPool::link_ptr_offs

Offset of the link pointer used to link the free elements together.