Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
bitarray_t Struct Reference

#include <bitarray.h>

Data Fields

union { 
 
   uint8_t   block [sizeof(uint8_t *)] 
 inline storage for small arrays More...
 
   uint8_t *   base 
 start of the underlying allocated buffer More...
 
u 
 
size_t size_bits
 extent in bits
 

Detailed Description

a compressed array of boolean values

Note that this complies with the zero-is-initialization idiom. That is, C99 zero initializing one of these (bitarray_t b = {0}) or memseting one of these to zero gives you a valid zero-length bit array.

Definition at line 37 of file bitarray.h.

Field Documentation

◆ base

uint8_t* bitarray_t::base

Definition at line 40 of file bitarray.h.

Referenced by bitarray_get(), bitarray_new(), bitarray_reset(), and bitarray_set().

◆ block

uint8_t bitarray_t::block[sizeof(uint8_t *)]

Definition at line 39 of file bitarray.h.

Referenced by bitarray_get(), bitarray_new(), bitarray_reset(), and bitarray_set().

◆ size_bits

size_t bitarray_t::size_bits

Definition at line 42 of file bitarray.h.

Referenced by bitarray_get(), bitarray_new(), bitarray_reset(), and bitarray_set().

◆ [union]

union { ... } bitarray_t::u

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