Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_cache_t Struct Reference

#include <cache.h>

+ Collaboration diagram for dt_cache_t:

Data Fields

dt_pthread_mutex_t lock
 
size_t entry_size
 
size_t cost
 
size_t cost_quota
 
GHashTable * hashtable
 
GList * lru
 
dt_cache_allocate_t allocate
 
dt_cache_allocate_t cleanup
 
voidallocate_data
 
voidcleanup_data
 

Detailed Description

Definition at line 47 of file common/cache.h.

Field Documentation

◆ allocate

dt_cache_allocate_t dt_cache_t::allocate

◆ allocate_data

void* dt_cache_t::allocate_data

◆ cleanup

dt_cache_allocate_t dt_cache_t::cleanup

◆ cleanup_data

void* dt_cache_t::cleanup_data

◆ cost

◆ cost_quota

size_t dt_cache_t::cost_quota

◆ entry_size

size_t dt_cache_t::entry_size

Definition at line 51 of file common/cache.h.

Referenced by dt_cache_get_with_caller(), and dt_cache_init().

◆ hashtable

◆ lock

◆ lru


The documentation for this struct was generated from the following file: