* lib/bitset.c: Move some documenting comments to...
* lib/bitset.h: here.
* lib/bitset/array.c: Fix some comments.
+2020-11-15 Akim Demaille <akim@lrde.epita.fr>
+
+ bitset: comment changes
+ * lib/bitset.c: Move some documenting comments to...
+ * lib/bitset.h: here.
+ * lib/bitset/array.c: Fix some comments.
+
2020-11-14 Paul Eggert <eggert@cs.ucla.edu>
careadlinkat: warn better about GCC bug 93644
}
-/* Find next bit set in SRC starting from and including BITNO.
- Return BITSET_BINDEX_MAX if SRC empty. */
bitset_bindex
bitset_next (bitset src, bitset_bindex bitno)
{
}
-/* Find previous bit set in SRC starting from and including BITNO.
- Return BITSET_BINDEX_MAX if SRC empty. */
bitset_bindex
bitset_prev (bitset src, bitset_bindex bitno)
{
/* Return true if both bitsets are of the same type and size. */
bool bitset_compatible_p (bitset bset1, bitset bset2);
-/* Find next set bit from the given bit index. */
-bitset_bindex bitset_next (bitset, bitset_bindex);
+/* Find next bit set in SRC starting from and including BITNO.
+ Return BITSET_BINDEX_MAX if SRC empty. */
+bitset_bindex bitset_next (bitset src, bitset_bindex bitno);
-/* Find previous set bit from the given bit index. */
-bitset_bindex bitset_prev (bitset, bitset_bindex);
+/* Find previous bit set in SRC starting from and including BITNO.
+ Return BITSET_BINDEX_MAX if SRC empty. */
+bitset_bindex bitset_prev (bitset src, bitset_bindex bitno);
-/* Find first set bit. */
-bitset_bindex bitset_first (bitset);
+/* Find first set bit.
+ Return BITSET_BINDEX_MAX if SRC empty. */
+bitset_bindex bitset_first (bitset src);
-/* Find last set bit. */
-bitset_bindex bitset_last (bitset);
+/* Find last set bit.
+ Return BITSET_BINDEX_MAX if SRC empty. */
+bitset_bindex bitset_last (bitset src);
/* Return nonzero if this is the only set bit. */
bool bitset_only_set_p (bitset, bitset_bindex);
return size;
}
-/* Find list of up to NUM bits set in BSET starting from and including
+/* Find list of up to NUM bits set in SRC starting from and including
*NEXT and store in array LIST. Return with actual number of bits
found and with *NEXT indicating where search stopped. */
static bitset_bindex
}
-/* Find list of up to NUM bits set in BSET in reverse order, starting
+/* Find list of up to NUM bits set in SRC in reverse order, starting
from and including NEXT and store in array LIST. Return with
actual number of bits found and with *NEXT indicating where search
stopped. */
}
-/* Find list of up to NUM bits set in BSET starting from and including
+/* Find list of up to NUM bits set in SRC starting from and including
*NEXT and store in array LIST. Return with actual number of bits
found and with *NEXT indicating where search stopped. */
static bitset_bindex