newSimilar

fun newSimilar(otherHashTable: HashTable): HashTable

Creates a new #GHashTable 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.

Return

a new #GHashTable

Since

2.72

Parameters

otherHashTable

Another #GHashTable