JULEA
|
Data Structures | |
struct | JCache |
Typedefs | |
typedef struct JCache | JCache |
Functions | |
JCache * | j_cache_new (guint64 size) |
void | j_cache_free (JCache *cache) |
gpointer | j_cache_get (JCache *cache, guint64 length) |
void | j_cache_release (JCache *cache, gpointer data) |
void j_cache_free | ( | JCache * | cache | ) |
gpointer j_cache_get | ( | JCache * | cache, |
guint64 | length | ||
) |
Gets a new segment from the cache.
cache | A cache. |
length | A length. |
JCache * j_cache_new | ( | guint64 | size | ) |
Creates a new cache.
size | A size. |
void j_cache_release | ( | JCache * | cache, |
gpointer | data | ||
) |
Frees cache memory
cache | A cache. |
data | A pointer to cached data. |