ck_bitmap: Add comment for ck_bitmap_size.

ck_pring
Samy Al Bahra 12 years ago
parent 3f0a90813a
commit de0597d2aa

@ -122,6 +122,10 @@ ck_bitmap_base(unsigned int n_bits)
return CK_BITMAP_BLOCKS(n_bits) * sizeof(CK_BITMAP_WORD); return CK_BITMAP_BLOCKS(n_bits) * sizeof(CK_BITMAP_WORD);
} }
/*
* Returns the required number of bytes for a ck_bitmap_t object supporting the
* specified number of bits.
*/
CK_CC_INLINE static unsigned int CK_CC_INLINE static unsigned int
ck_bitmap_size(unsigned int n_bits) ck_bitmap_size(unsigned int n_bits)
{ {

Loading…
Cancel
Save