HrFunc

typealias HrFunc = (<Error class: unknown class>?, <Error class: unknown class>?) -> Boolean(source)

Specifies the type of the function passed to g_hash_table_foreach_remove(). It is called with each key/value pair, together with the @user_data parameter passed to g_hash_table_foreach_remove(). It should return true if the key/value pair should be removed from the #GHashTable.

  • param key a key

  • param value the value associated with the key

  • return true if the key/value pair should be removed from the #GHashTable