From de0597d2aa770d59aafcee9301f735f4c6e19326 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 12 Oct 2012 11:27:11 -0400 Subject: [PATCH] ck_bitmap: Add comment for ck_bitmap_size. --- include/ck_bitmap.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/ck_bitmap.h b/include/ck_bitmap.h index ce9a67e..ee2bc39 100644 --- a/include/ck_bitmap.h +++ b/include/ck_bitmap.h @@ -122,6 +122,10 @@ ck_bitmap_base(unsigned int n_bits) 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_bitmap_size(unsigned int n_bits) {