Structure of bit array.
More...
#include <mirkl_bitarray.h>
|
mirkl_uint64_t * | words |
| Memory for bits.
|
|
mirkl_uint64_t | num_of_bits |
| Number of bits.
|
|
mirkl_uint64_t | num_of_words |
| Number of words used – this is just round_up(num_of_bits / 64). If num_of_bits == 0, this is 0.
|
|
mirkl_uint64_t | capacity_in_words |
| For more efficient allocation we use realloc only to double size – not for adding every word. Initial size is INIT_CAPACITY_WORDS.
|
|
Structure of bit array.
This is a modified version of the bit array C library by Isaac Turner, see https://github.com/noporpoise/BitArray/ for original project. The purpose of the modification is to adapt the library for MirKL error handling system.
The documentation for this struct was generated from the following file: