summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_image_main.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-02-14 08:33:20 -0500
committerMike Blumenkrantz <zmike@samsung.com>2020-02-14 08:33:20 -0500
commit7aec0565cb33cc664b3a1be4df01c721e92d6dfd (patch)
tree15732e01666df7e195203686104d279d4f56fa49 /src/lib/evas/common/evas_image_main.c
parent08b291e540902dccced85591f40ba2624d5cb0d4 (diff)
Revert "evas: remove unused function evas_common_load_image_from_file."
Summary: This reverts commit 7672d1050ea9e1050c27ce2eda68718ea054b638. Depends on D11335 Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11336
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_image_main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c
index e06fc9f653..57a9a8c0c5 100644
--- a/src/lib/evas/common/evas_image_main.c
+++ b/src/lib/evas/common/evas_image_main.c
@@ -1016,6 +1016,18 @@ evas_common_image_get_cache(void)
1016} 1016}
1017 1017
1018EAPI RGBA_Image * 1018EAPI RGBA_Image *
1019evas_common_load_image_from_file(const char *file, const char *key,
1020 Evas_Image_Load_Opts *lo, int *error)
1021{
1022 if (!file)
1023 {
1024 *error = EVAS_LOAD_ERROR_GENERIC;
1025 return NULL;
1026 }
1027 return (RGBA_Image *) evas_cache_image_request(eci, file, key, lo, error);
1028}
1029
1030EAPI RGBA_Image *
1019evas_common_load_image_from_mmap(Eina_File *f, const char *key, 1031evas_common_load_image_from_mmap(Eina_File *f, const char *key,
1020 Evas_Image_Load_Opts *lo, int *error) 1032 Evas_Image_Load_Opts *lo, int *error)
1021{ 1033{