forked from enlightenment/efl
evas: Add function to ref an Image_Entry
SVN revision: 81281
This commit is contained in:
parent
9b2b121e6f
commit
645dcff9d2
|
@ -114,6 +114,7 @@ extern "C" {
|
|||
EAPI Evas_Cache_Image* evas_cache_image_init(const Evas_Cache_Image_Func *cb);
|
||||
EAPI void evas_cache_image_shutdown(Evas_Cache_Image *cache);
|
||||
EAPI Image_Entry* evas_cache_image_request(Evas_Cache_Image *cache, const char *file, const char *key, RGBA_Image_Loadopts *lo, int *error);
|
||||
EAPI void evas_cache_image_ref(Image_Entry *im);
|
||||
EAPI void evas_cache_image_drop(Image_Entry *im);
|
||||
EAPI void evas_cache_image_data_not_needed(Image_Entry *im);
|
||||
EAPI int evas_cache_image_flush(Evas_Cache_Image *cache);
|
||||
|
|
|
@ -740,6 +740,12 @@ on_stat_error:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_cache_image_ref(Image_Entry *im)
|
||||
{
|
||||
im->references++;
|
||||
}
|
||||
|
||||
EAPI void
|
||||
evas_cache_image_drop(Image_Entry *im)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue