forked from enlightenment/efl
parent
1e8b9a90bf
commit
59ebafcb85
|
@ -18,7 +18,7 @@
|
||||||
2013-01-02 Cedric Bail
|
2013-01-02 Cedric Bail
|
||||||
|
|
||||||
* Use Eina_File for evas webp, gif, tiff and eet loader.
|
* Use Eina_File for evas webp, gif, tiff and eet loader.
|
||||||
* Add eet_map to open an Eet file from an Eina_File.
|
* Add eet_mmap to open an Eet file from an Eina_File.
|
||||||
|
|
||||||
2012-12-31 Gustavo Sverzut Barbieri (k-s)
|
2012-12-31 Gustavo Sverzut Barbieri (k-s)
|
||||||
|
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -47,7 +47,7 @@ Additions:
|
||||||
eina_xattr_del(), eina_xattr_fd_del(), eina_xattr_copy() and
|
eina_xattr_del(), eina_xattr_fd_del(), eina_xattr_copy() and
|
||||||
eina_xattr_fd_copy()
|
eina_xattr_fd_copy()
|
||||||
* Added eina_file_copy()
|
* Added eina_file_copy()
|
||||||
* Add eet_map.
|
* Add eet_mmap.
|
||||||
* Add eio_eet_sync symbols.
|
* Add eio_eet_sync symbols.
|
||||||
|
|
||||||
Deprecations:
|
Deprecations:
|
||||||
|
|
|
@ -580,7 +580,7 @@ eet_open(const char *file,
|
||||||
* @since 1.8.0
|
* @since 1.8.0
|
||||||
*/
|
*/
|
||||||
EAPI Eet_File *
|
EAPI Eet_File *
|
||||||
eet_map(Eina_File *file);
|
eet_mmap(Eina_File *file);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Open an eet file directly from a memory location. The data is not copied,
|
* Open an eet file directly from a memory location. The data is not copied,
|
||||||
|
|
|
@ -1413,7 +1413,7 @@ eet_file_get(Eet_File *ef)
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI Eet_File *
|
EAPI Eet_File *
|
||||||
eet_map(Eina_File *file)
|
eet_mmap(Eina_File *file)
|
||||||
{
|
{
|
||||||
Eet_File *ef = NULL;
|
Eet_File *ef = NULL;
|
||||||
const char *path;
|
const char *path;
|
||||||
|
|
|
@ -43,7 +43,7 @@ evas_image_load_file_head_eet(Image_Entry *ie, const char *file, const char *key
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
ef = eet_map(f);
|
ef = eet_mmap(f);
|
||||||
if (!ef)
|
if (!ef)
|
||||||
{
|
{
|
||||||
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
|
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
|
||||||
|
@ -100,7 +100,7 @@ evas_image_load_file_data_eet(Image_Entry *ie, const char *file, const char *key
|
||||||
*error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
|
*error = EVAS_LOAD_ERROR_DOES_NOT_EXIST;
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
ef = eet_map(f);
|
ef = eet_mmap(f);
|
||||||
if (!ef)
|
if (!ef)
|
||||||
{
|
{
|
||||||
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
|
*error = EVAS_LOAD_ERROR_CORRUPT_FILE;
|
||||||
|
|
Loading…
Reference in New Issue