sort_changed_iter


Description:

[ CCode ( cname = "g_sequence_sort_changed_iter" ) ]
public void sort_changed_iter (SequenceIterCompareFunc<G> iter_cmp)

Like sort_changed, but uses a SequenceIterCompareFunc instead of a CompareDataFunc as the compare function.

iter_cmp is called with two iterators pointing into the Sequence that iter points into. It should return 0 if the iterators are equal, a negative value if the first iterator comes before the second, and a positive value if the second iterator comes before the first.

Parameters:

iter_cmp

the function used to compare iterators in the sequence

cmp_data

user data passed to cmp_func

iter

a SequenceIter