Function
GObjectparam_values_cmp
Declaration
gint
g_param_values_cmp (
GParamSpec* pspec,
const GValue* value1,
const GValue* value2
)
Description
Compares value1 with value2 according to pspec, and return -1, 0 or +1,
if value1 is found to be less than, equal to or greater than value2, respectively.
Parameters
pspec-
Type:
GParamSpecA valid
GParamSpec.The data is owned by the caller of the function. value1-
Type:
GValueA
GValueof correct type forpspec.The data is owned by the caller of the function. value2-
Type:
GValueA
GValueof correct type forpspec.The data is owned by the caller of the function.