add eet_data_descriptor_name_get()

SVN revision: 83546
This commit is contained in:
Mike Blumenkrantz 2013-02-01 10:59:23 +00:00
parent 1f1994ec78
commit f9d80e493a
4 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-02-01 Mike Blumenkrantz
* added eet_data_descriptor_name_get()
2013-01-31 Guillaume Friloux
* Fix a memory leak in ecore_con_dns

3
NEWS
View File

@ -50,6 +50,7 @@ Additions:
eina_xattr_fd_copy()
* Added eina_file_copy()
* Add eet_mmap.
* added eet_data_descriptor_name_get()
* Add eio_eet_sync symbols.
* Add infrastructure to handle buggy touchscreen in Ecore_Input_Evas.
@ -135,4 +136,4 @@ Fixes:
* Fix evas gif loader to return the correct frame duration
* Prevent a crash even if an invalid object is swallowed into an edje object.
* Fix cache miss when active edje hash is empty.
* Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.
* Fix the EVAS_CALLBACK_MOUSE_MOVE callback is called even if the grabbed object is invisible by proxy object.

View File

@ -2731,6 +2731,14 @@ eet_eina_file_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc,
EAPI void
eet_data_descriptor_free(Eet_Data_Descriptor *edd);
/**
* This function returns the name of a data descriptor.
*
* @since 1.8.0
* @ingroup Eet_Data_Group
*/
EAPI const char *eet_data_descriptor_name_get(const Eet_Data_Descriptor *edd);
/**
* This function is an internal used by macros.
*

View File

@ -1913,6 +1913,14 @@ eet_data_descriptor_file_new(const Eet_Data_Descriptor_Class *eddc)
return _eet_data_descriptor_new(eddc, 2);
}
EAPI const char *
eet_data_descriptor_name_get(const Eet_Data_Descriptor *edd)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(edd, NULL);
return edd->name;
}
EAPI void
eet_data_descriptor_free(Eet_Data_Descriptor *edd)
{