forked from enlightenment/efl
8a19bb4b29
Because of the way eo is dispatching method calls of objects the usual error log you get if you mix up objects or try to call non-existent methods is: ERR<12404>:eo lib/eo/eo.c:362 _eo_dov_internal() Can't find func for op 0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class 'ecore_audio_obj_out_pulse'. Aborting. Of course the problem is not really in lib/eo/eo.c, but in the function calling eo_do() Now the macros pass source file and line number on to the _internal functions so we can log where the error originally happened: ERR<1938>:eo lib/eo/eo.c:362 _eo_dov_internal() in lib/ecore_audio/ecore_audio_obj_out_pulse.c:119: Can't find func for op 0x24 (ecore_audio_obj_in:ECORE_AUDIO_OBJ_IN_SUB_ID_SPEED_GET) for class 'ecore_audio_obj_out_pulse'. Aborting. This makes debugging with eo a lot easier. Signed-off-by: Daniel Willmann <d.willmann@samsung.com> |
||
---|---|---|
.. | ||
Eo.h | ||
eo.c | ||
eo_base_class.c | ||
eo_private.h |