Function

GLib-2.0GLibhash_table_foreach_steal

  • Calls the given function for each key/value pair in the GLib.HashTable. If the function returns true, then the key/value pair is removed from the GLib.HashTable, but no key or value destroy functions are called.

    See GLib.HashTableIter for an alternative way to loop over the key/value pairs in the hash table.

    Parameters

    Returns number

    the number of key/value pairs removed.