ParamSpec.paramValuesCmp

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.

class ParamSpec
static
int
paramValuesCmp

Parameters

pspec ParamSpec

a valid #GParamSpec

value1 Value

a #GValue of correct type for @pspec

value2 Value

a #GValue of correct type for @pspec

Return Value

Type: int

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

Meta