SearchFunc
Description:
[ CCode ( cname = "GCompareFunc" , has_target = false ) ]
public delegate int SearchFunc<G,T> (G a, T b)
public delegate int SearchFunc<G,T> (G a, T b)
Specifies 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.
Parameters:
a |
a value |
b |
a value to compare with |
Returns:
negative value if |
Namespace: GLib
Package: glib-2.0