Function

GLib-2.0GLibhash_table_new_similarSince 2.72

  • Creates a new GLib.HashTable like g_hash_table_new_full() with a reference count of 1.

    It inherits the hash function, the key equal function, the key destroy function, as well as the value destroy function, from other_hash_table.

    The returned hash table will be empty; it will not contain the keys or values from other_hash_table.

    Parameters

    Returns GLib.HashTable<any, any>

    a new GLib.HashTable

    2.72