intEqual
fn
bool intEqual(const(void) * v1, const(void) * v2)Compares the two #gint values being pointed to and returns true if they are equal. It can be passed to [glib.hash_table.HashTable.new_] as the key_equal_func parameter, when using non-null pointers to integers as keys in a #GHashTable.
Note that this function acts on pointers to #gint, not on #gint directly: if your hash table's keys are of the form GINT_TO_POINTER (n), use [glib.global.directEqual] instead.
Parameters
v1 | a pointer to a #gint key |
v2 | a pointer to a #gint key to compare with v1 |
Returns
true if the two keys match.