Function

GLib-2.0GLibdouble_equalSince 2.22

  • Compares the two gdouble values being pointed to and returns true if they are equal. It can be passed to g_hash_table_new() as the key_equal_func parameter, when using non-null pointers to doubles as keys in a GLib.HashTable.

    Parameters

    • v1: any

      a pointer to a gdouble key

    • v2: any

      a pointer to a gdouble key to compare with v1

    Returns boolean

    true if the two keys match.

    2.22