Allocator of fixed size blocks. More...
#include <tommyalloc.h>
Data Fields | |
| struct tommy_allocator_entry_struct * | free_block |
| List of free blocks. More... | |
| struct tommy_allocator_entry_struct * | used_segment |
| List of allocated segments. More... | |
| tommy_size_t | block_size |
| Block size. More... | |
| tommy_size_t | align_size |
| Alignment size. More... | |
| tommy_size_t | count |
| Number of allocated elements. More... | |
Allocator of fixed size blocks.
| struct tommy_allocator_entry_struct* tommy_allocator_struct::free_block |
List of free blocks.
| struct tommy_allocator_entry_struct* tommy_allocator_struct::used_segment |
List of allocated segments.
| tommy_size_t tommy_allocator_struct::block_size |
Block size.
| tommy_size_t tommy_allocator_struct::align_size |
Alignment size.
| tommy_size_t tommy_allocator_struct::count |
Number of allocated elements.