* lib/bitset.c (bitset_print): Print the bitset type in verbose mode.
2020-11-15 Akim Demaille <akim@lrde.epita.fr>
+ bitset: making debug traces more useful
+ * lib/bitset.c (bitset_print): Print the bitset type in verbose mode.
+
bitset: comment changes
* lib/bitset.c: Move some documenting comments to...
* lib/bitset.h: here.
bitset_print (FILE *file, bitset bset, bool verbose)
{
if (verbose)
- fprintf (file, "n_bits = %lu, set = {",
+ fprintf (file, "%s{n_bits = %lu, set = {",
+ bitset_type_name_get (bset),
(unsigned long) bitset_size (bset));
unsigned pos = 30;
}
if (verbose)
- fprintf (file, "}\n");
+ fprintf (file, "}}\n");
}