/* bitvector size */ #define BV_SETSIZE 1024 /* this number MUST be >= 8! */ typedef unsigned char uint_8; #define _BV_DELT(b) ((b) >> 0x3) #define _BV_MASK(b) (1 << ((b) & 0x7)) #define _BV_BITS(s) ((s)->bits) /* structure for bitvectors */ typedef struct bv_set { uint_8 bits[_BV_DELT(BV_SETSIZE)]; }bv_set; /* utility macros */ #define BV_ZERO(s) \ do { \ unsigned int _i; \ for (_i=0; _i