double_hash


Description:

[ Version ( since = "2.22" ) ]
[ CCode ( cname = "g_double_hash" ) ]
public HashFunc<double?> double_hash

Converts a pointer to a double 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 GenericSet.

Parameters:

v

a pointer to a double key

Returns:

a hash value corresponding to the key.


Namespace: GLib
Package: glib-2.0