lv_cache_get_max_size() function
Get the maximum size of the cache.
Arguments
cache
The cache object pointer to get the maximum size.
user_data
A user data pointer that will be passed to the free callback.
Return value
Returns the maximum size of the cache.