add sp_bitmap_from_bitvec
This commit is contained in:
parent
c797bb6894
commit
2e468fb47a
2 changed files with 27 additions and 0 deletions
|
@ -388,6 +388,15 @@ void sp_bitmap_fill(Bitmap */*notnull*/ bitmap, bool value);
|
|||
*/
|
||||
void sp_bitmap_free(Bitmap */*notnull*/ bitmap);
|
||||
|
||||
/**
|
||||
* Tries to convert the BitVec to a Bitmap.
|
||||
*
|
||||
* The provided BitVec gets consumed.
|
||||
*
|
||||
* Returns NULL in case of error.
|
||||
*/
|
||||
Bitmap *sp_bitmap_from_bitvec(size_t width, SPBitVec */*notnull*/ bitvec);
|
||||
|
||||
/**
|
||||
* Gets the current value at the specified position in the [Bitmap].
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue