gcache.h File Reference

__G_CACHE_H__

Typedef GCache

typedef typedefG_BEGIN_DECLS struct _GCacheGCache

Typedef GCacheNewFunc

typedef gpointer(*GCacheNewFunc

Typedef GCacheDupFunc

typedef gpointer(*GCacheDupFunc

Typedef GCacheDestroyFunc

typedef void(*GCacheDestroyFunc

g_cache_new ( GCacheNewFunc, GCacheDestroyFunc, GCacheDupFunc, GCacheDestroyFunc, GHashFunc, GHashFunc, GEqualFunc )

IMPORT_C GCache *g_cache_new(GCacheNewFuncvalue_new_func,
GCacheDestroyFuncvalue_destroy_func,
GCacheDupFunckey_dup_func,
GCacheDestroyFunckey_destroy_func,
GHashFunchash_key_func,
GHashFunchash_value_func,
GEqualFunckey_equal_func
)

g_cache_destroy ( GCache * )

IMPORT_C voidg_cache_destroy(GCache *cache)

g_cache_insert ( GCache *, gpointer )

IMPORT_C gpointerg_cache_insert(GCache *cache,
gpointerkey
)

g_cache_remove ( GCache *, gconstpointer )

IMPORT_C voidg_cache_remove(GCache *cache,
gconstpointervalue
)

g_cache_key_foreach ( GCache *, GHFunc, gpointer )

IMPORT_C voidg_cache_key_foreach(GCache *cache,
GHFuncfunc,
gpointeruser_data
)

g_cache_value_foreach ( GCache *, GHFunc, gpointer )

IMPORT_C voidg_cache_value_foreach(GCache *cache,
GHFuncfunc,
gpointeruser_data
)