values_cmp


Description:

[ CCode ( cname = "g_param_values_cmp" , vfunc_name = "values_cmp" ) ]
public virtual int values_cmp (Value value1, Value value2)

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:

value1

a Value of correct type for pspec

value2

a Value of correct type for pspec

pspec

a valid ParamSpec

Returns:

-1, 0 or +1, for a less than, equal to or greater than result




2022 vala-language.org