(ebitset_size, ebitset_list, ebitset_list_reverse):
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Oct 2002 07:57:24 +0000 (07:57 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Oct 2002 07:57:24 +0000 (07:57 +0000)
commit52f8da14ea4bc92ead3a212e51ade03e6207129d
tree657e214c246154465eddcba60f21a47a4dcb7cb4
parenteb6172cd1ef9c71547e75a9501e2a435d479cd2e
(ebitset_size, ebitset_list, ebitset_list_reverse):
Use bitset_bindex, not int or unsigned int or size_t, to count bits.

(ebitset_bytes): Use size_t, not unsigned int, to count bytes.

(struct ebitset_struct.size, ebitset_elts_grow,
ebitset_elt_add, ebitset_elt_remove, ebitset_weed,
ebitset_elt_find, ebitset_list_reverse, ebitset_list, ebitset_init):
Use bitset_windex instead of unsigned int.

(ebitset_elts_grow): Check for arithmetic overflow when computing sizes.
lib/ebitset.c