|
libcute 0.1
|
Dynamically allocated bitmap. More...
#include <bitmap.h>

Public Attributes | |
| cu_Allocator | backingAllocator |
| size_t * | bits |
| size_t | bitCount |
Dynamically allocated bitmap.
The bitmap stores its bits on the heap using the provided allocator. Bits are referenced by index starting at zero. Out‑of‑range accesses are ignored to keep the API simple. The number of bits is specified during creation and can be queried with cu_Bitmap_size.
| cu_Allocator cu_Bitmap::backingAllocator |
allocator used for bookkeeping
| size_t cu_Bitmap::bitCount |
total bits contained
| size_t* cu_Bitmap::bits |
bit storage