CacheNewFunc

typealias CacheNewFunc = (<Error class: unknown class>?) -> <Error class: unknown class>?

Specifies the type of the @value_new_func function passed to g_cache_new(). It is passed a #GCache key and should create the value corresponding to the key.

  • param key a #GCache key

  • return a new #GCache value corresponding to the key.