intHash
fn
uint intHash(const(void) * v)Converts a pointer to a #gint to a hash value. It can be passed to [glib.hash_table.HashTable.new_] as the hash_func parameter, when using non-null pointers to integer values 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.directHash] instead.
Parameters
v | a pointer to a #gint key |
Returns
a hash value corresponding to the key.