class GLib::Cache
- GLib::Cache
- Reference
- Object
Overview
A GCache
allows sharing of complex data structures, in order to
save system resources.
GCache
uses keys and values. A GCache
key describes the properties
of a particular resource. A GCache
value is the actual resource.
GCache
has been marked as deprecated, since this API is rarely
used and not very actively maintained.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/cache.crConstructors
Instance Method Summary
-
#destroy : Nil
DEPRECATED
-
#insert(key : Pointer(Void) | Nil) : Pointer(Void) | Nil
DEPRECATED
-
#key_foreach(func : GLib::HFunc, user_data : Pointer(Void) | Nil) : Nil
DEPRECATED
-
#remove(value : Pointer(Void) | Nil) : Nil
DEPRECATED
- #to_unsafe : Pointer(Void)
-
#value_foreach(func : GLib::HFunc, user_data : Pointer(Void) | Nil) : Nil
DEPRECATED