Function

GLibdouble_hash

Declaration [src]

guint
g_double_hash (
  gconstpointer v
)

Description [src]

Converts a pointer to a #gdouble to a hash value. It can be passed to g_hash_table_new() as the hash_func parameter, It can be passed to g_hash_table_new() as the hash_func parameter, when using non-NULL pointers to doubles as keys in a GHashTable.

Available since:2.22

Parameters

v gconstpointer
 

A pointer to a #gdouble key.

Return value

Returns: guint
 

A hash value corresponding to the key.