vppinfra: correct clib_bitmap_set() return comment
Fix a copy-n-paste issue that left clib_bitmap_set()'s return type documentation incorrect. Chnage it to indicate that the function returns a new pointer for the bitmap that could be different due to a possible reallocation. Type: docs Signed-off-by: Jon Loeliger <jdl@netgate.com> Change-Id: Ia193c4673c0e4d1760e91cd7f80ebe1868a3c9b5
This commit is contained in:

committed by
Matthew Smith

parent
07c42c0eea
commit
32b93d4800
@ -178,7 +178,7 @@ clib_bitmap_set_no_check (uword * a, uword i, uword new_value)
|
||||
@param ai - pointer to the bitmap
|
||||
@param i - the bit position to interrogate
|
||||
@param value - new value for the bit
|
||||
@returns the old value of the bit
|
||||
@returns the (possibly reallocated) bitmap object pointer
|
||||
*/
|
||||
always_inline uword *
|
||||
clib_bitmap_set (uword * ai, uword i, uword value)
|
||||
|
Reference in New Issue
Block a user