11 #define BITS_BLOCK_SIZE (sizeof (unsigned) * BYTEWIDTH)
12 #define BITS_BLOCK(position) ((position) / BITS_BLOCK_SIZE)
13 #define BITS_MASK(position) (1 << ((position) % BITS_BLOCK_SIZE))
16 init_bits_list (bits_list_ptr)
17 bits_list_type *bits_list_ptr;
19 bits_list_ptr->bits = NULL;
20 bits_list_ptr->bits = (unsigned *) malloc (sizeof (unsigned));
22 if (bits_list_ptr->bits == NULL)
25 bits_list_ptr->bits[0] = (unsigned)0;
26 bits_list_ptr->size = BITS_BLOCK_SIZE;
35 bits_list_type dummy_1;
36 bits_list_type dummy_2;
37 bits_list_type dummy_3;
39 init_bits_list (&dummy);
41 init_bits_list (&dummy_1);
43 init_bits_list (&dummy_2);
45 init_bits_list (&dummy_3);