_ecore_exe_eo_base_finalize(Eo *obj, Ecore_Exe_Data *exe)
{
EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
- obj = eo_do_super(obj, MY_CLASS, eo_finalize());
+ eo_do_super(obj, MY_CLASS, obj = eo_finalize());
if (!obj)
return obj;
static const char *_ecore_con_pretty_ip(struct sockaddr *client_addr);
#define EO_CONSTRUCTOR_CHECK_RETURN(obj) do { \
- if (eo_do(obj, eo_finalized_get())) \
+ Eina_Bool finalized; \
+ if (eo_do_ret(obj, finalized, eo_finalized_get())) \
{ \
ERR("This function is only allowed during construction."); \
return; \
EAPI double
ecore_con_server_timeout_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_timeout_get());
+ double ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_timeout_get());
}
EOLIAN static double
EAPI Eina_Bool
ecore_con_server_connected_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_connected_get());
+ Eina_Bool ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_connected_get());
}
EOLIAN static Eina_Bool
EAPI int
ecore_con_server_port_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_port_get());
+ int ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_port_get());
}
EOLIAN static void
EAPI int
ecore_con_server_send(Ecore_Con *obj, const void *data, int size)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_send(data, size));
+ int ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_send(data, size));
}
EOLIAN static int
EAPI const char *
ecore_con_server_ip_get(const Ecore_Con *obj)
{
- return eo_do(obj, ecore_con_obj_ip_get());
+ const char *ret;
+ return eo_do_ret(obj, ret, ecore_con_obj_ip_get());
}
EOLIAN static const char *
EAPI double
ecore_con_server_uptime_get(const Ecore_Con *obj)
{
- return eo_do(obj, ecore_con_obj_uptime_get());
+ double ret;
+ return eo_do_ret(obj, ret, ecore_con_obj_uptime_get());
}
EOLIAN static double
EAPI int
ecore_con_client_send(Ecore_Con *obj, const void *data, int size)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_send(data, size));
+ int ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_send(data, size));
}
EOLIAN static int
EAPI Eina_Bool
ecore_con_client_connected_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_connected_get());
+ Eina_Bool ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_connected_get());
}
EOLIAN static void
EAPI double
ecore_con_client_timeout_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_timeout_get());
+ double ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_timeout_get());
}
EAPI void *
EAPI const char *
ecore_con_client_ip_get(const Ecore_Con *obj)
{
- return eo_do(obj, ecore_con_obj_ip_get());
+ const char *ret;
+ return eo_do_ret(obj, ret, ecore_con_obj_ip_get());
}
EOLIAN static int
EAPI int
ecore_con_client_port_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_port_get());
+ int ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_port_get());
}
EOLIAN static double
EAPI double
ecore_con_client_uptime_get(const Ecore_Con *obj)
{
- return eo_do(obj, ecore_con_obj_uptime_get());
+ double ret;
+ return eo_do_ret(obj, ret, ecore_con_obj_uptime_get());
}
EOLIAN static void
EAPI int
ecore_con_server_fd_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_fd_get());
+ int ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_fd_get());
}
EOLIAN static int
EAPI int
ecore_con_client_fd_get(const Ecore_Con *obj)
{
- return eo_do((Ecore_Con *)obj, ecore_con_obj_fd_get());
+ int ret;
+ return eo_do_ret((Ecore_Con *)obj, ret, ecore_con_obj_fd_get());
}
/**
EAPI Eina_Bool
emotion_object_file_set(Evas_Object *obj, const char *file)
{
- return eo_do(obj, efl_file_set(file, NULL));
+ Eina_Bool ret;
+ return eo_do_ret(obj, ret, efl_file_set(file, NULL));
}
EOLIAN static Eina_Bool
EAPI Eina_Bool
emotion_object_play_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_player_play_get());
+ Eina_Bool ret;
+ return eo_do_ret(obj, ret, efl_player_play_get());
}
EOLIAN static Eina_Bool
EAPI double
emotion_object_position_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_player_position_get());
+ double ret;
+ return eo_do_ret(obj, ret, efl_player_position_get());
}
EOLIAN static double
EAPI Eina_Bool
emotion_object_smooth_scale_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_image_smooth_scale_get());
+ Eina_Bool ret;
+ return eo_do_ret(obj, ret, efl_image_smooth_scale_get());
}
EOLIAN static Eina_Bool
EAPI double
emotion_object_ratio_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_image_ratio_get());
+ double ret;
+ return eo_do_ret(obj, ret, efl_image_ratio_get());
}
EOLIAN static double
EAPI double
emotion_object_audio_volume_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_player_audio_volume_get());
+ double ret;
+ return eo_do_ret(obj, ret, efl_player_audio_volume_get());
}
EOLIAN static double
EAPI Eina_Bool
emotion_object_audio_mute_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_player_audio_mute_get());
+ Eina_Bool ret;
+ return eo_do_ret(obj, ret, efl_player_audio_mute_get());
}
EOLIAN static Eina_Bool
EAPI double
emotion_object_progress_status_get(const Evas_Object *obj)
{
- return eo_do(obj, efl_player_progress_get());
+ double ret;
+ return eo_do_ret(obj, ret, efl_player_progress_get());
}
EOLIAN static double
eo_do (node, list_meshes = (Eina_List *)evas_3d_node_mesh_list_get());
EINA_LIST_FOREACH(list_meshes, l, mesh)
{
- if (eo_do(mesh, evas_3d_mesh_color_pick_enable_get()))
+ Eina_Bool tmp;
+ if (eo_do_ret(mesh, tmp, evas_3d_mesh_color_pick_enable_get()))
{
color = calloc(1, sizeof(Evas_Color));
scene_data.shadows_enabled = pd->shadows_enabled;
scene_data.camera_node = pd->camera_node;
scene_data.color_pick_enabled = pd->color_pick_enabled;
- update_scene = eo_do(obj, evas_3d_object_dirty_get(EVAS_3D_STATE_SCENE_UPDATED));
+ eo_do(obj, update_scene = evas_3d_object_dirty_get(EVAS_3D_STATE_SCENE_UPDATED));
if (update_scene)
{
if (pd->node_mesh_colors)
Eina_Bool pick = EINA_FALSE;
/* Check pick for given scene. */
- pick = eo_do(obj, evas_3d_scene_pick(x, y, NULL, NULL, NULL, NULL));
+ eo_do(obj, pick = evas_3d_scene_pick(x, y, NULL, NULL, NULL, NULL));
if (!pick)
return NULL;
/* Get all members from root node. */
- list = eo_do(pd->root_node, evas_3d_node_member_list_get());
+ eo_do(pd->root_node, list = evas_3d_node_member_list_get());
EINA_LIST_FOREACH(list, l, node)
{
- if (eo_do(obj, evas_3d_scene_exist(x, y, node)))
+ Evas_3D_Node *exists;
+ if (eo_do_ret(obj, exists, evas_3d_scene_exist(x, y, node)))
picked_nodes = eina_list_append(picked_nodes, l);
}
EAPI Eina_Bool
evas_object_image_save(const Eo *obj, const char *file, const char *key, const char *flags)
{
- return eo_do((Eo *) obj, efl_file_save(file, key, flags));
+ Eina_Bool ret;
+ return eo_do_ret((Eo *) obj, ret, efl_file_save(file, key, flags));
}
EAPI Eina_Bool
evas_object_image_animated_get(const Eo *obj)
{
- return eo_do((Eo *) obj, efl_image_animated_get());
+ Eina_Bool ret;
+ return eo_do_ret((Eo *) obj, ret, efl_image_animated_get());
}
EAPI void
EAPI Eina_Bool
evas_object_image_smooth_scale_get(const Eo *obj)
{
- return eo_do((Eo *) obj, efl_image_smooth_scale_get());
+ Eina_Bool ret;
+ return eo_do_ret((Eo *) obj, ret, efl_image_smooth_scale_get());
}
#include "canvas/evas_image.eo.c"
if ((obj->cur->geometry.x == x) && (obj->cur->geometry.y == y)) return;
- Evas_Map *map = (Evas_Map *)eo_do(eo_obj, evas_obj_map_get());
+ Evas_Map *map;
+ eo_do(eo_obj, map = (Evas_Map *) evas_obj_map_get());
if (map && map->move_sync.enabled)
{
Evas_Coord diff_x = x - obj->cur->geometry.x;
EAPI const char *
evas_object_text_text_get(const Eo *obj)
{
- return eo_do((Eo *) obj, efl_text_get());
+ const char *ret;
+ return eo_do_ret((Eo *) obj, ret, efl_text_get());
}
#include "canvas/evas_text.eo.c"