value_differ
Description:
Tells if two values are equal or not, by comparing memory representations.
Unlike value_compare, the returned value is boolean, and gives no idea about ordering.
The two values must be of the same type, with the exception that a value of any type can be compared to a GDA_TYPE_NULL value, specifically:
- if
value1
andvalue2
are both GDA_TYPE_NULL values then the returned value is 0 - if
value1
is a GDA_TYPE_NULL value andvalue2
is of another type then the returned value is 1 - if
value1
is of another type andvalue2
is a GDA_TYPE_NULL value then the returned value is 1 - in all other cases,
value1
andvalue2
must be of the same type and their values are compared
Parameters:
value1 |
a Value to compare. |
value2 |
the other Value to be compared to |
Returns:
a non 0 value if |
Namespace: Gda
Package: libgda-5.0