/src/wrappers/glib/partially-implemented/g_compare_function.e
Specman e | 9 lines | 7 code | 2 blank | 0 comment | 6 complexity | 36225d21817dca99060f104a8f2f6771 MD5 | raw file
1GCompareFunc () 2 3gint (*GCompareFunc) (gconstpointer a, 4 gconstpointer b); 5 6Specifies the type of a comparison function used to compare two values. The function should return a negative integer if the first value comes before the second, 0 if they are equal, or a positive integer if the first value comes after the second. 7a : a value. 8b : a value to compare with. 9Returns : negative value if a < b; zero if a = b; positive value if a > b.