eina: fix define of Eina_Content

there is no need to declare that const.
This commit is contained in:
Marcel Hollerbach 2020-03-09 10:03:37 +01:00
parent dc58262158
commit b2ab297def
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ eina_content_type_get(Eina_Content *content)
return content->type;
}
EAPI const Eina_Slice
EAPI Eina_Slice
eina_content_data_get(Eina_Content *content)
{
return eina_rw_slice_slice_get(content->data);

View File

@ -63,7 +63,7 @@ EAPI const char* eina_content_type_get(Eina_Content *content);
*
* @return An Eina_Slice containing the data. Do not free.
*/
EAPI const Eina_Slice eina_content_data_get(Eina_Content *content);
EAPI Eina_Slice eina_content_data_get(Eina_Content *content);
/**
* Create a new content object, with the provided data and type.