doubleHash

Converts a pointer to a #gdouble to a hash value. It can be passed to glib.hash_table.HashTable.new_ as the hash_func parameter, It can be passed to glib.hash_table.HashTable.new_ as the hash_func parameter, when using non-null pointers to doubles as keys in a #GHashTable.

uint
doubleHash
(
const(void)* v
)

Parameters

v const(void)*

a pointer to a #gdouble key

Return Value

Type: uint

a hash value corresponding to the key.