Top | ![]() |
![]() |
![]() |
![]() |
Assertion Utilities for GValueAssertion Utilities for GValue — Utilities to write assertions related to GValue more easily. |
To write assertions, you need to check equality and show expected and actual values.
The utilities help you to write assertions that are related to GValue.
gboolean gcut_value_equal (const GValue *value1
,const GValue *value2
);
Compares two GValue, value1
and value2
by registered
equal function. (See gcut_value_register_equal_func()
for
detail of how to register equal function of GValue)
Since: 1.0.5
void gcut_value_register_equal_func (GType type1
,GType type2
,GEqualFunc equal_func
);
e.g.:
1 |
TODO |
Registers equality check function between GValue of
type1
and GValue of type2
.
Since: 1.0.5