Interface
GcrComparable
Prerequisite
In order to implement Comparable, your type must inherit from
GObject
.
Functions
gcr_comparable_memcmp
Compare two blocks of memory. The return value can be used to sort the blocks of memory.
Instance methods
gcr_comparable_compare
Compare whether two objects represent the same thing. The return value can also be used to sort the objects.
Interface structure
struct GcrComparableIface {
GTypeInterface parent;
gint (* compare) (
GcrComparable* self,
GcrComparable* other
);
}
Interface members
parent |
|
Type interface. |
|
compare |
|
No description available. |
Virtual methods
Gcr.Comparable.compare
Compare whether two objects represent the same thing. The return value can also be used to sort the objects.