add sp_bitmap_into_bitvec

This commit is contained in:
Vinzenz Schroeter 2025-04-12 18:35:48 +02:00
parent f483b5a2d5
commit c797bb6894
2 changed files with 15 additions and 1 deletions

View file

@ -411,6 +411,11 @@ bool sp_bitmap_get(Bitmap */*notnull*/ bitmap, size_t x, size_t y);
*/
size_t sp_bitmap_height(Bitmap */*notnull*/ bitmap);
/**
* Consumes the Bitmap and returns the contained BitVec
*/
SPBitVec */*notnull*/ sp_bitmap_into_bitvec(Bitmap */*notnull*/ bitmap);
/**
* Loads a [Bitmap] with the specified dimensions from the provided data.
*