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