ecore-audio: make this a Efl_Object

sorry for the late fixup, the Ecore_Audio_Object is documented as "the
audio object" however, it is not, internally it is used as struct, thus
gdb gets confused.
This commit is contained in:
Marcel Hollerbach 2018-06-19 18:31:32 +02:00
parent 10ac0c6036
commit 680285bf6e
2 changed files with 4 additions and 4 deletions

View File

@ -200,14 +200,14 @@ EAPI int ecore_audio_shutdown(void);
* @since 1.8 * @since 1.8
* *
*/ */
EAPI const char* ecore_audio_obj_name_get(const Ecore_Audio_Object* obj); EAPI const char* ecore_audio_obj_name_get(const Efl_Object* obj);
/** /**
* @brief Name of the object * @brief Name of the object
* *
* @since 1.8 * @since 1.8
* *
*/ */
EAPI void ecore_audio_obj_name_set(Ecore_Audio_Object* obj, const char *name); EAPI void ecore_audio_obj_name_set(Efl_Object* obj, const char *name);
#include <ecore_audio_obj.h> #include <ecore_audio_obj.h>
#include <ecore_audio_obj_in.h> #include <ecore_audio_obj_in.h>

View File

@ -262,13 +262,13 @@ ecore_audio_sndfile_lib_unload(void)
EAPI const char* EAPI const char*
ecore_audio_obj_name_get(const Ecore_Audio_Object* obj) ecore_audio_obj_name_get(const Efl_Object* obj)
{ {
return efl_name_get(obj); return efl_name_get(obj);
} }
EAPI void EAPI void
ecore_audio_obj_name_set(Ecore_Audio_Object* obj, const char *name) ecore_audio_obj_name_set(Efl_Object* obj, const char *name)
{ {
efl_name_set(obj, name); efl_name_set(obj, name);
} }