Cache.keyForeach

void keyForeach(glib.types.HFunc func)

Calls the given function for each of the keys in the #GCache.

NOTE func is passed three parameters, the value and key of a cache entry and the user_data. The order of value and key is different from the order in which [glib.hash_table.HashTable.foreach_] passes key-value pairs to its callback function !

Parameters

functhe function to call with each #GCache key

Deprecated

Use a #GHashTable instead