SequenceIter.compare

Returns a negative number if a comes before b, 0 if they are equal, and a positive number if a comes after b.

The a and b iterators must point into the same sequence.

class SequenceIter
int
compare

Parameters

b glib.sequence_iter.SequenceIter

a #GSequenceIter

Return Value

Type: int

a negative number if a comes before b, 0 if they are equal, and a positive number if a comes after b