cache->size = size;
}
+/** Get the numer of possible cache items.
+ *
+ * \public \memberof mlt_cache_s
+ * \param cache the cache to check
+ * \return the current maximum size of the cache
+ */
+
+int mlt_cache_get_size( mlt_cache cache )
+{
+ return cache->size;
+}
+
/** Destroy a cache.
*
* \public \memberof mlt_cache_s
extern mlt_cache mlt_cache_init();
extern void mlt_cache_set_size( mlt_cache cache, int size );
+extern int mlt_cache_get_size( mlt_cache cache );
extern void mlt_cache_close( mlt_cache cache );
extern void mlt_cache_purge( mlt_cache cache, void *object );
extern void mlt_cache_put( mlt_cache cache, void *object, void* data, int size, mlt_destructor destructor );