Initialize iter
to iterate over set
in arbitrary order. iter
will become
invalid if set
is modified.
a set
Advances iter
and retrieves the integer it now points to. Iteration
is not necessarily in numerical order.
a location to store a new integer, in arbitrary order
An opaque structure representing iteration in undefined order over a set of integers. Must be initialized with tp_intset_fast_iter_init().
Before 0.11.16, this type was calledTpIntSetFastIter ,
which is now a backwards compatibility typedef.
Usage is similar to #GHashTableIter:
tp_intset_fast_iter_init (&iter, intset);
while (tp_intset_fast_iter_next (&iter, &element)) { printf ("%u is in the intset\n", element); }