forked from enlightenment/efl
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:
parent
10ac0c6036
commit
680285bf6e
|
@ -200,14 +200,14 @@ EAPI int ecore_audio_shutdown(void);
|
|||
* @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
|
||||
*
|
||||
* @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_in.h>
|
||||
|
|
|
@ -262,13 +262,13 @@ ecore_audio_sndfile_lib_unload(void)
|
|||
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue