compare_gtimeval

@accepts(GLib.TimeVal, GLib.TimeVal)
@returns(gint)
def compare_gtimeval(a, b)

Compares two GTimeVal structures for sorting.

a :

left hand side

b :

right hand size

Returns :

-1 if @a < @b, 0 if @a == @b, 1 if @a > @b