Data Fields
tommy_allocator_struct Struct Reference

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...
 

Detailed Description

Allocator of fixed size blocks.

Field Documentation

◆ free_block

struct tommy_allocator_entry_struct* tommy_allocator_struct::free_block

List of free blocks.

◆ used_segment

struct tommy_allocator_entry_struct* tommy_allocator_struct::used_segment

List of allocated segments.

◆ block_size

tommy_size_t tommy_allocator_struct::block_size

Block size.

◆ align_size

tommy_size_t tommy_allocator_struct::align_size

Alignment size.

◆ count

tommy_size_t tommy_allocator_struct::count

Number of allocated elements.


The documentation for this struct was generated from the following file: