Converts a pointer to a gint to a hash value.
It can be passed to g_hash_table_new() as the hash_func parameter,
when using non-null pointers to integer values 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_hash() instead.
Converts a pointer to a
gintto a hash value. It can be passed tog_hash_table_new()as thehash_funcparameter, when using non-nullpointers to integer values as keys in a GLib.HashTable.Note that this function acts on pointers to
gint, not ongintdirectly: if your hash table's keys are of the formGINT_TO_POINTER (n), useg_direct_hash()instead.