|
Typedefs
|
typedef typedefG_BEGIN_DECLS
struct _GCache
|
GCache |
typedef gpointer(*
|
GCacheNewFunc )(gpointer key)
|
typedef gpointer(*
|
GCacheDupFunc )(gpointer value)
|
typedef void(* |
GCacheDestroyFunc )(gpointer value)
|
Functions
|
IMPORT_C GCache *
|
g_cache_new (GCacheNewFunc value_new_func, GCacheDestroyFunc value_destroy_func, GCacheDupFunc key_dup_func, GCacheDestroyFunc key_destroy_func, GHashFunc hash_key_func, GHashFunc hash_value_func, GEqualFunc key_equal_func)
|
IMPORT_C void |
g_cache_destroy (GCache *cache)
|
IMPORT_C gpointer
|
g_cache_insert (GCache *cache, gpointer key)
|
IMPORT_C void |
g_cache_remove (GCache *cache, gconstpointer value)
|
IMPORT_C void |
g_cache_key_foreach (GCache *cache, GHFunc func, gpointer user_data)
|
IMPORT_C void |
g_cache_value_foreach (GCache *cache, GHFunc func, gpointer user_data)
|