Data Fields
tommy_arrayblkof_struct Struct Reference

Array container type. More...

#include <tommyarrayblkof.h>

Data Fields

unsigned char ** block
 Directory of blocks. More...
 
tommy_size_t block_count
 Number of allocated blocks. More...
 
tommy_size_t block_capacity
 Number of directory entries allocated. More...
 
tommy_size_t element_size
 Size of the stored element in bytes. More...
 
tommy_size_t count
 Number of initialized elements in the array. More...
 

Detailed Description

Array container type.

Note
Don't use internal fields directly, but access the container only using functions.

Field Documentation

◆ block

unsigned char** tommy_arrayblkof_struct::block

Directory of blocks.

◆ block_count

tommy_size_t tommy_arrayblkof_struct::block_count

Number of allocated blocks.

◆ block_capacity

tommy_size_t tommy_arrayblkof_struct::block_capacity

Number of directory entries allocated.

◆ element_size

tommy_size_t tommy_arrayblkof_struct::element_size

Size of the stored element in bytes.

◆ count

tommy_size_t tommy_arrayblkof_struct::count

Number of initialized elements in the array.


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