lv_cache_class_t struct
Cache class struct for building custom cache classes Examples: - lv_cache_class_lru_rb_count for LRU-based cache with count-based eviction policy. - lv_cache_class_lru_rb_size for LRU-based cache with size-based eviction policy.
Fields
The allocation function for cache entries.
The initialization function for cache entries.
The destruction function for cache entries.
The get function for cache entries.
The add function for cache entries.
The remove function for cache entries.
The drop function for cache entries.
The drop all function for cache entries.
The get victim function for cache entries.
The reserve condition function for cache entries.