Cache.valueForeach

Warning g_cache_value_foreach has been deprecated since version 2.10 and should not be used in newly-written code. The reason is that it passes pointers to internal data structures to func; use g_cache_key_foreach() instead Calls the given function for each of the values in the GCache.

class Cache
void
valueForeach

Parameters

func GHFunc

the function to call with each GCache value

userData void*

user data to pass to the function

Meta