id_compare_func

function id_compare_func(id1:gpointer, id2:gpointer):Number {
    // Gjs wrapper for gst_clock_id_compare_func()
}

Compares the two Gst.ClockID instances. This function can be used as a GCompareFunc when sorting ids.

id1

A Gst.ClockID

id2

A Gst.ClockID to compare with

Returns

negative value if a < b; zero if a = b; positive value if a > b MT safe.