next


Description:

public bool next ()

If there are integers in (iter->set) higher than (iter->element), set (iter->element) to the next one and return true.

Otherwise return false.

Usage:

TpIntsetIter iter = TP_INTSET_INIT (intset);
while (tp_intset_iter_next (&iter))
{
printf ("%u is in the intset\n", iter.element);
}

Since 0.11.6, consider using IntsetFastIter if iteration in numerical order is not required.

Parameters:

this

An iterator originally initialized with TP_INTSET_INIT(set)

Returns:

true if (iter->element) has been advanced




2022 vala-language.org