Function

GLibint64_hash

Declaration

guint
g_int64_hash (
  gconstpointer v
)

Description

Converts a pointer to a #gint64 to a hash value.

It can be passed to g_hash_table_new() as the hash_func parameter, when using non-NULL pointers to 64-bit integer values as keys in a GHashTable.

Available since:2.22

Parameters

v gconstpointer
 

A pointer to a #gint64 key.

Return value

Returns: guint
 

A hash value corresponding to the key.