In preparation for a larger change (D14162), some BLI_bitmap functionality that could be submitted separately:
- Ability to declare a fixed size bitmap by-value, without extra memory allocation: BLI_BITMAP_DECLARE
- Function to find the index of lowest unset bit: BLI_bitmap_find_first_unset
- Test coverage of the above.
- Fixed _BITMAP_NUM_BLOCKS to not over-allocate by one block. For bit counts that were exact multiple of block size, the previous macro was allocating one block too much.