Data Fields
tommy_arrayof_struct Struct Reference

Array container type. More...

#include <tommyarrayof.h>

Data Fields

void * bucket [TOMMY_SIZE_BIT]
 Dynamic array of buckets. More...
 
tommy_size_t element_size
 Size of the stored element in bytes. More...
 
tommy_size_t bucket_max
 Number of buckets. More...
 
tommy_size_t count
 Number of initialized elements in the array. More...
 
tommy_uint_t bucket_bit
 Bits used in the bit mask. More...
 

Detailed Description

Array container type.

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

Field Documentation

◆ bucket

void* tommy_arrayof_struct::bucket[TOMMY_SIZE_BIT]

Dynamic array of buckets.

◆ element_size

tommy_size_t tommy_arrayof_struct::element_size

Size of the stored element in bytes.

◆ bucket_max

tommy_size_t tommy_arrayof_struct::bucket_max

Number of buckets.

◆ count

tommy_size_t tommy_arrayof_struct::count

Number of initialized elements in the array.

◆ bucket_bit

tommy_uint_t tommy_arrayof_struct::bucket_bit

Bits used in the bit mask.


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