Function

GLib-2.0GLibdouble_hashSince 2.22

  • 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 GLib.HashTable.

    Parameters

    • v: any

      a pointer to a gdouble key

    Returns number

    a hash value corresponding to the key.

    2.22