Compares the two gint values being pointed to and returns TRUE if they are equal. It can be passed to HashTable.new as the key_equal_func parameter, when using non-NULL pointers to integers as keys in a glib.HashTable

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 g_direct_equal() instead.

class HashTable
void* v1
void* v2


v1 void*

a pointer to a gint key

v2 void*

a pointer to a gint key to compare with v1

Return Value

Type: bool

TRUE if the two keys match.