forked from enlightenment/efl
Fix migration script mistakes and compilation warnings.
Mostly unused vars following the removal of eo_do_ret(). However, there are some cases where the migration script got some things wrong, and I had to manually fix them.
This commit is contained in:
parent
8780da1fbd
commit
23a6b12183
|
@ -246,7 +246,7 @@ main(void)
|
|||
image = evas_object_image_filled_add(evas);
|
||||
efl_gfx_size_set(image, WIDTH, HEIGHT);
|
||||
efl_gfx_visible_set(image, EINA_TRUE);
|
||||
evas_object_focus_set(image, image, EINA_TRUE);
|
||||
evas_object_focus_set(image, EINA_TRUE);
|
||||
|
||||
/* Set the image object as render target for 3D scene. */
|
||||
evas_obj_image_scene_set(image, data.scene);
|
||||
|
|
|
@ -250,14 +250,20 @@ _key_down(void *data,
|
|||
}
|
||||
}
|
||||
else if (!strcmp(ev->key, "F1"))
|
||||
{
|
||||
evas_canvas3d_node_position_set(scene->camera_node, 0.0, 80.0, 30.0);
|
||||
evas_canvas3d_node_look_at_set(scene->camera_node, EVAS_CANVAS3D_SPACE_PARENT, 0.0, 0.0, 0.0, EVAS_CANVAS3D_SPACE_PARENT, 0.0, 1.0, 0.0);
|
||||
}
|
||||
else if (!strcmp(ev->key, "F2"))
|
||||
{
|
||||
evas_canvas3d_node_position_set(scene->camera_node, -2.0, 0.0, 4.0);
|
||||
evas_canvas3d_node_look_at_set(scene->camera_node, EVAS_CANVAS3D_SPACE_PARENT, 0.0, 0.0, -100.0, EVAS_CANVAS3D_SPACE_PARENT, 0.0, 1.0, 0.0);
|
||||
}
|
||||
else if (!strcmp(ev->key, "A"))
|
||||
{
|
||||
aabb_index++;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
_key_up(void *data EINA_UNUSED,
|
||||
|
@ -831,8 +837,10 @@ _mesh_setup_wall(Scene_Data *data, int index)
|
|||
|
||||
/* placing of wall carpet on the floor grid */
|
||||
if (index == 0)
|
||||
{
|
||||
evas_canvas3d_node_scale_set(data->mesh_node_wall[index], 6.7 * 19.5, 20.0, 2.0);
|
||||
evas_canvas3d_node_position_set(data->mesh_node_wall[index], -39.7 + 18.6 * 3, 0.0, -60.3);
|
||||
}
|
||||
else if (index == 1)
|
||||
{
|
||||
evas_canvas3d_node_scale_set(data->mesh_node_wall[index], 5 * 19.5, 20.0, 2.0);
|
||||
|
@ -840,8 +848,10 @@ _mesh_setup_wall(Scene_Data *data, int index)
|
|||
evas_canvas3d_node_orientation_angle_axis_set(data->mesh_node_wall[index], 90, 0, 1.0, 0.0);
|
||||
}
|
||||
else if (index == 2)
|
||||
{
|
||||
evas_canvas3d_node_scale_set(data->mesh_node_wall[index], 6.7 * 19.5, 20.0, 2.0);
|
||||
evas_canvas3d_node_position_set(data->mesh_node_wall[index], -39.7 + 18.6*3, 0.0, 35.3);
|
||||
}
|
||||
else if (index == 3)
|
||||
{
|
||||
evas_canvas3d_node_scale_set(data->mesh_node_wall[index], 5* 19.5, 20.0, 2.0);
|
||||
|
|
|
@ -108,7 +108,6 @@ static void _ecore_con_lookup_done(void *data,
|
|||
static const char *_ecore_con_pretty_ip(struct sockaddr *client_addr);
|
||||
|
||||
#define EO_CONSTRUCTOR_CHECK_RETURN(obj) do { \
|
||||
Eina_Bool finalized; \
|
||||
if (eo_finalized_get(obj)) \
|
||||
{ \
|
||||
ERR("This function is only allowed during construction."); \
|
||||
|
@ -556,7 +555,6 @@ _efl_network_server_efl_network_base_timeout_set(Eo *obj, Efl_Network_Server_Dat
|
|||
EAPI double
|
||||
ecore_con_server_timeout_get(const Ecore_Con *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_network_base_timeout_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -610,7 +608,6 @@ ecore_con_server_data_set(Ecore_Con_Server *obj,
|
|||
EAPI Eina_Bool
|
||||
ecore_con_server_connected_get(const Ecore_Con *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_network_base_connected_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -660,7 +657,6 @@ _efl_network_server_name_get(Eo *obj EINA_UNUSED, Efl_Network_Server_Data *svr)
|
|||
EAPI int
|
||||
ecore_con_server_port_get(const Ecore_Con *obj)
|
||||
{
|
||||
int ret;
|
||||
return efl_network_base_port_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -681,7 +677,6 @@ _efl_network_server_efl_network_base_port_get(Eo *obj EINA_UNUSED, Efl_Network_S
|
|||
EAPI int
|
||||
ecore_con_server_send(Ecore_Con *obj, const void *data, int size)
|
||||
{
|
||||
int ret;
|
||||
return efl_network_base_send((Ecore_Con *)obj, data, size);
|
||||
}
|
||||
|
||||
|
@ -738,7 +733,6 @@ _efl_network_server_client_limit_get(Eo *obj EINA_UNUSED, Efl_Network_Server_Dat
|
|||
EAPI const char *
|
||||
ecore_con_server_ip_get(const Ecore_Con *obj)
|
||||
{
|
||||
const char *ret;
|
||||
return efl_network_base_ip_get(obj);
|
||||
}
|
||||
|
||||
|
@ -751,7 +745,6 @@ _efl_network_server_efl_network_base_ip_get(Eo *obj EINA_UNUSED, Efl_Network_Ser
|
|||
EAPI double
|
||||
ecore_con_server_uptime_get(const Ecore_Con *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_network_base_uptime_get(obj);
|
||||
}
|
||||
|
||||
|
@ -793,7 +786,6 @@ _efl_network_server_efl_network_base_flush(Eo *obj, Efl_Network_Server_Data *svr
|
|||
EAPI int
|
||||
ecore_con_client_send(Ecore_Con *obj, const void *data, int size)
|
||||
{
|
||||
int ret;
|
||||
return efl_network_base_send((Ecore_Con *)obj, data, size);
|
||||
}
|
||||
|
||||
|
@ -861,7 +853,6 @@ _efl_network_client_efl_network_base_connected_get(Eo *obj EINA_UNUSED, Efl_Netw
|
|||
EAPI Eina_Bool
|
||||
ecore_con_client_connected_get(const Ecore_Con *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_network_base_connected_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -888,7 +879,6 @@ _efl_network_client_efl_network_base_timeout_get(Eo *obj EINA_UNUSED, Efl_Networ
|
|||
EAPI double
|
||||
ecore_con_client_timeout_get(const Ecore_Con *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_network_base_timeout_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -940,7 +930,6 @@ _efl_network_client_efl_network_base_ip_get(Eo *obj EINA_UNUSED, Efl_Network_Cli
|
|||
EAPI const char *
|
||||
ecore_con_client_ip_get(const Ecore_Con *obj)
|
||||
{
|
||||
const char *ret;
|
||||
return efl_network_base_ip_get(obj);
|
||||
}
|
||||
|
||||
|
@ -968,7 +957,6 @@ _efl_network_client_efl_network_base_port_get(Eo *obj EINA_UNUSED, Efl_Network_C
|
|||
EAPI int
|
||||
ecore_con_client_port_get(const Ecore_Con *obj)
|
||||
{
|
||||
int ret;
|
||||
return efl_network_base_port_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -981,7 +969,6 @@ _efl_network_client_efl_network_base_uptime_get(Eo *obj EINA_UNUSED, Efl_Network
|
|||
EAPI double
|
||||
ecore_con_client_uptime_get(const Ecore_Con *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_network_base_uptime_get(obj);
|
||||
}
|
||||
|
||||
|
@ -1000,7 +987,6 @@ ecore_con_client_flush(Ecore_Con *obj)
|
|||
EAPI int
|
||||
ecore_con_server_fd_get(const Ecore_Con *obj)
|
||||
{
|
||||
int ret;
|
||||
return efl_network_base_fd_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
@ -1021,7 +1007,6 @@ _efl_network_client_efl_network_base_fd_get(Eo *obj EINA_UNUSED, Efl_Network_Cli
|
|||
EAPI int
|
||||
ecore_con_client_fd_get(const Ecore_Con *obj)
|
||||
{
|
||||
int ret;
|
||||
return efl_network_base_fd_get((Ecore_Con *)obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -924,8 +924,6 @@ ecore_con_eet_data_set(Ecore_Con_Eet *ece, const void *data)
|
|||
EAPI const void *
|
||||
ecore_con_eet_data_get(Ecore_Con_Eet *ece)
|
||||
{
|
||||
const void *temp;
|
||||
|
||||
return eo_key_data_get(ece, ECORE_CON_EET_DATA_KEY);
|
||||
}
|
||||
|
||||
|
|
|
@ -401,8 +401,6 @@ _edje_object_efl_file_mmap_get(Eo *obj EINA_UNUSED, Edje *pd,
|
|||
EAPI Eina_Bool
|
||||
edje_object_mmap_set(Edje_Object *obj, const Eina_File *file, const char *group)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
|
||||
return efl_file_mmap_set(obj, file, group);
|
||||
}
|
||||
|
||||
|
|
|
@ -349,7 +349,6 @@ _emotion_object_engine_set(Eo *obj, Emotion_Object_Data *pd, const char *engine)
|
|||
EAPI Eina_Bool
|
||||
emotion_object_file_set(Evas_Object *obj, const char *file)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_file_set(obj, file, NULL);
|
||||
}
|
||||
|
||||
|
@ -648,7 +647,6 @@ _emotion_object_efl_player_play_set(Eo *obj, Emotion_Object_Data *sd, Eina_Bool
|
|||
EAPI Eina_Bool
|
||||
emotion_object_play_get(const Evas_Object *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_player_play_get(obj);
|
||||
}
|
||||
|
||||
|
@ -687,7 +685,6 @@ _emotion_object_efl_player_position_set(Eo *obj, Emotion_Object_Data *sd, double
|
|||
EAPI double
|
||||
emotion_object_position_get(const Evas_Object *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_player_position_get(obj);
|
||||
}
|
||||
|
||||
|
@ -712,7 +709,6 @@ emotion_object_buffer_size_get(const Evas_Object *obj)
|
|||
EAPI Eina_Bool
|
||||
emotion_object_seekable_get(const Evas_Object *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_player_seekable_get(obj);
|
||||
}
|
||||
|
||||
|
@ -739,7 +735,6 @@ emotion_object_audio_handled_get(const Evas_Object *obj)
|
|||
EAPI double
|
||||
emotion_object_play_length_get(const Evas_Object *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_player_length_get(obj);
|
||||
}
|
||||
|
||||
|
@ -774,7 +769,6 @@ _emotion_object_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Emotion_Object_D
|
|||
EAPI Eina_Bool
|
||||
emotion_object_smooth_scale_get(const Evas_Object *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_image_smooth_scale_get(obj);
|
||||
}
|
||||
|
||||
|
@ -787,7 +781,6 @@ _emotion_object_efl_image_smooth_scale_get(Eo *obj EINA_UNUSED, Emotion_Object_D
|
|||
EAPI double
|
||||
emotion_object_ratio_get(const Evas_Object *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_image_ratio_get(obj);
|
||||
}
|
||||
|
||||
|
@ -828,7 +821,6 @@ _emotion_object_efl_player_audio_volume_set(Eo *obj EINA_UNUSED, Emotion_Object_
|
|||
EAPI double
|
||||
emotion_object_audio_volume_get(const Evas_Object *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_player_audio_volume_get(obj);
|
||||
}
|
||||
|
||||
|
@ -856,7 +848,6 @@ _emotion_object_efl_player_audio_mute_set(Eo *obj EINA_UNUSED, Emotion_Object_Da
|
|||
EAPI Eina_Bool
|
||||
emotion_object_audio_mute_get(const Evas_Object *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_player_audio_mute_get(obj);
|
||||
}
|
||||
|
||||
|
@ -1147,7 +1138,6 @@ emotion_object_progress_info_get(const Evas_Object *obj)
|
|||
EAPI double
|
||||
emotion_object_progress_status_get(const Evas_Object *obj)
|
||||
{
|
||||
double ret;
|
||||
return efl_player_progress_get(obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -99,7 +99,6 @@ _eo_base_key_data_get(Eo *obj EINA_UNUSED, Eo_Base_Data *pd, const char *key)
|
|||
EOLIAN static void
|
||||
_eo_base_parent_set(Eo *obj, Eo_Base_Data *pd, Eo *parent_id)
|
||||
{
|
||||
Eina_Bool tmp;
|
||||
if (pd->parent == parent_id)
|
||||
return;
|
||||
|
||||
|
|
|
@ -969,7 +969,6 @@ evas_canvas3d_node_color_node_mesh_collect(Evas_Canvas3D_Node *node, void *data)
|
|||
list_meshes = (Eina_List *)evas_canvas3d_node_mesh_list_get(node);
|
||||
EINA_LIST_FOREACH(list_meshes, l, mesh)
|
||||
{
|
||||
Eina_Bool tmp;
|
||||
if (evas_canvas3d_mesh_color_pick_enable_get(mesh))
|
||||
{
|
||||
color = calloc(1, sizeof(Evas_Color));
|
||||
|
@ -1207,7 +1206,7 @@ _evas_canvas3d_node_position_get(const Eo *obj, Evas_Canvas3D_Node_Data *pd, Eva
|
|||
}
|
||||
else if (space == EVAS_CANVAS3D_SPACE_WORLD)
|
||||
{
|
||||
evas_canvas3d_object_update(obj);
|
||||
evas_canvas3d_object_update((Eo *) obj);
|
||||
|
||||
if (x) *x = pd->position_world.x;
|
||||
if (y) *y = pd->position_world.y;
|
||||
|
@ -1235,7 +1234,7 @@ _evas_canvas3d_node_orientation_get(const Eo *obj, Evas_Canvas3D_Node_Data *pd,
|
|||
}
|
||||
else if (space == EVAS_CANVAS3D_SPACE_WORLD)
|
||||
{
|
||||
evas_canvas3d_object_update(obj);
|
||||
evas_canvas3d_object_update((Eo *) obj);
|
||||
|
||||
if (x) *x = pd->orientation_world.x;
|
||||
if (y) *y = pd->orientation_world.y;
|
||||
|
@ -1263,7 +1262,7 @@ _evas_canvas3d_node_scale_get(const Eo *obj, Evas_Canvas3D_Node_Data *pd, Evas_C
|
|||
}
|
||||
else if (space == EVAS_CANVAS3D_SPACE_WORLD)
|
||||
{
|
||||
evas_canvas3d_object_update(obj);
|
||||
evas_canvas3d_object_update((Eo *) obj);
|
||||
|
||||
if (x) *x = pd->scale_world.x;
|
||||
if (y) *y = pd->scale_world.y;
|
||||
|
|
|
@ -691,7 +691,7 @@ _evas_canvas3d_scene_pick(const Eo *obj, Evas_Canvas3D_Scene_Data *pd, Evas_Real
|
|||
return EINA_FALSE;
|
||||
}
|
||||
/* Update the scene graph. */
|
||||
evas_canvas3d_object_update(obj);
|
||||
evas_canvas3d_object_update((Eo *) obj);
|
||||
pd_camera_node = eo_data_scope_get(pd->camera_node, EVAS_CANVAS3D_NODE_CLASS);
|
||||
pd_camera = eo_data_scope_get(pd_camera_node->data.camera.camera, EVAS_CANVAS3D_CAMERA_CLASS);
|
||||
eina_matrix4_multiply(&data.matrix_vp,
|
||||
|
@ -737,7 +737,7 @@ _evas_canvas3d_scene_exist(const Eo *obj, Evas_Canvas3D_Scene_Data *pd, Evas_Rea
|
|||
data.t = 0.0;
|
||||
|
||||
/* Update the scene graph. */
|
||||
evas_canvas3d_object_update(obj);
|
||||
evas_canvas3d_object_update((Eo *) obj);
|
||||
pd_camera_node = eo_data_scope_get(pd->camera_node, EVAS_CANVAS3D_NODE_CLASS);
|
||||
pd_camera = eo_data_scope_get(pd_camera_node->data.camera.camera, EVAS_CANVAS3D_CAMERA_CLASS);
|
||||
eina_matrix4_multiply(&data.matrix_vp,
|
||||
|
@ -773,7 +773,6 @@ _evas_canvas3d_scene_pick_member_list_get(const Eo *obj, Evas_Canvas3D_Scene_Dat
|
|||
|
||||
EINA_LIST_FOREACH(list, l, node)
|
||||
{
|
||||
Evas_Canvas3D_Node *exists;
|
||||
if (evas_canvas3d_scene_exist(obj, x, y, node))
|
||||
picked_nodes = eina_list_append(picked_nodes, l);
|
||||
}
|
||||
|
|
|
@ -247,8 +247,6 @@ _evas_object_efl_gfx_stack_layer_set(Eo *eo_obj,
|
|||
EAPI short
|
||||
evas_object_layer_get(const Evas_Object *obj)
|
||||
{
|
||||
short ret;
|
||||
|
||||
return efl_gfx_stack_layer_get((Evas_Object *)obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -1064,8 +1064,6 @@ _evas_image_efl_gfx_fill_fill_spread_set(Eo *eo_obj, Evas_Image_Data *o,
|
|||
EAPI Evas_Fill_Spread
|
||||
evas_object_image_fill_spread_get(const Evas_Image *obj)
|
||||
{
|
||||
Evas_Fill_Spread ret;
|
||||
|
||||
return efl_gfx_fill_spread_get((Evas_Image *)obj);
|
||||
}
|
||||
|
||||
|
@ -4937,14 +4935,12 @@ evas_object_image_mmap_get(const Evas_Image *obj, const Eina_File **f, const cha
|
|||
EAPI Eina_Bool
|
||||
evas_object_image_save(const Eo *obj, const char *file, const char *key, const char *flags)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_file_save((Eo *) obj, file, key, flags);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_object_image_animated_get(const Eo *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_image_animated_get((Eo *) obj);
|
||||
}
|
||||
|
||||
|
@ -4969,7 +4965,6 @@ evas_object_image_smooth_scale_set(Eo *obj, Eina_Bool smooth_scale)
|
|||
EAPI Eina_Bool
|
||||
evas_object_image_smooth_scale_get(const Eo *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
return efl_image_smooth_scale_get((Eo *) obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -1301,8 +1301,6 @@ evas_object_hide(Evas_Object *eo_obj)
|
|||
EAPI Eina_Bool
|
||||
evas_object_visible_get(const Evas_Object *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
|
||||
return efl_gfx_visible_get((Evas_Object *)obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -2327,7 +2327,6 @@ evas_object_text_text_set(Eo *obj, const char *text)
|
|||
EAPI const char *
|
||||
evas_object_text_text_get(const Eo *obj)
|
||||
{
|
||||
const char *ret;
|
||||
return efl_text_get((Eo *) obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -311,8 +311,6 @@ _evas_object_efl_gfx_stack_stack_below(Eo *eo_obj, Evas_Object_Protected_Data *o
|
|||
EAPI Evas_Object *
|
||||
evas_object_above_get(const Evas_Object *obj)
|
||||
{
|
||||
Evas_Object *ret;
|
||||
|
||||
return efl_gfx_stack_above_get((Evas_Object *)obj);
|
||||
}
|
||||
|
||||
|
@ -342,8 +340,6 @@ _evas_object_efl_gfx_stack_above_get(Eo *eo_obj EINA_UNUSED,
|
|||
EAPI Evas_Object *
|
||||
evas_object_below_get(const Evas_Object *obj)
|
||||
{
|
||||
Evas_Object *ret;
|
||||
|
||||
return efl_gfx_stack_below_get((Evas_Object *)obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -130,8 +130,6 @@ evas_vg_gradient_spread_set(Eo *obj, Efl_Gfx_Gradient_Spread s)
|
|||
EAPI Efl_Gfx_Gradient_Spread
|
||||
evas_vg_gradient_spread_get(Eo *obj)
|
||||
{
|
||||
Efl_Gfx_Gradient_Spread ret;
|
||||
|
||||
return efl_gfx_gradient_spread_get(obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -206,8 +206,6 @@ evas_vg_gradient_radial_radius_set(Eo *obj, double r)
|
|||
EAPI double
|
||||
evas_vg_gradient_radial_radius_get(Eo *obj)
|
||||
{
|
||||
double ret;
|
||||
|
||||
return efl_gfx_gradient_radial_radius_get(obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -795,8 +795,6 @@ _efl_vg_base_dup(Eo *obj, Efl_VG_Base_Data *pd, const Efl_VG_Base *from)
|
|||
EAPI Eina_Bool
|
||||
evas_vg_node_visible_get(Eo *obj)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
|
||||
return efl_gfx_visible_get(obj);
|
||||
}
|
||||
|
||||
|
|
|
@ -254,8 +254,6 @@ _efl_vg_shape_efl_vg_base_dup(Eo *obj, Efl_VG_Shape_Data *pd EINA_UNUSED, const
|
|||
EAPI double
|
||||
evas_vg_shape_stroke_scale_get(Eo *obj)
|
||||
{
|
||||
double ret;
|
||||
|
||||
return efl_gfx_shape_stroke_scale_get(obj);
|
||||
}
|
||||
|
||||
|
@ -280,8 +278,6 @@ evas_vg_shape_stroke_color_set(Eo *obj, int r, int g, int b, int a)
|
|||
EAPI double
|
||||
evas_vg_shape_stroke_width_get(Eo *obj)
|
||||
{
|
||||
double ret;
|
||||
|
||||
return efl_gfx_shape_stroke_width_get(obj);
|
||||
}
|
||||
|
||||
|
@ -294,8 +290,6 @@ evas_vg_shape_stroke_width_set(Eo *obj, double w)
|
|||
EAPI double
|
||||
evas_vg_shape_stroke_location_get(Eo *obj)
|
||||
{
|
||||
double ret;
|
||||
|
||||
return efl_gfx_shape_stroke_location_get(obj);
|
||||
}
|
||||
|
||||
|
@ -320,8 +314,6 @@ evas_vg_shape_stroke_dash_set(Eo *obj, const Efl_Gfx_Dash *dash, unsigned int le
|
|||
EAPI Efl_Gfx_Cap
|
||||
evas_vg_shape_stroke_cap_get(Eo *obj)
|
||||
{
|
||||
Efl_Gfx_Cap ret;
|
||||
|
||||
return efl_gfx_shape_stroke_cap_get(obj);
|
||||
}
|
||||
|
||||
|
@ -334,8 +326,6 @@ evas_vg_shape_stroke_cap_set(Eo *obj, Efl_Gfx_Cap c)
|
|||
EAPI Efl_Gfx_Join
|
||||
evas_vg_shape_stroke_join_get(Eo *obj)
|
||||
{
|
||||
Efl_Gfx_Join ret;
|
||||
|
||||
return efl_gfx_shape_stroke_join_get(obj);
|
||||
}
|
||||
|
||||
|
@ -456,16 +446,12 @@ evas_vg_shape_shape_append_svg_path(Eo *obj, const char *svg_path_data)
|
|||
EAPI Eina_Bool
|
||||
evas_vg_shape_shape_interpolate(Eo *obj, const Eo *from, const Eo *to, double pos_map)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
|
||||
return efl_gfx_shape_interpolate(obj, from, to, pos_map);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
evas_vg_shape_shape_equal_commands(Eo *obj, const Eo *with)
|
||||
{
|
||||
Eina_Bool ret;
|
||||
|
||||
return efl_gfx_shape_equal_commands(obj, with);
|
||||
}
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ _evas_ector_gl_rgbaimage_buffer_evas_ector_buffer_engine_image_set(Eo *obj, Evas
|
|||
Evas *evas, void *image)
|
||||
{
|
||||
RGBA_Image *im = image;
|
||||
Eina_Bool b;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN(image);
|
||||
if (eo_finalized_get(obj))
|
||||
|
|
|
@ -25,7 +25,6 @@ _evas_ector_software_buffer_evas_ector_buffer_engine_image_set(Eo *obj, Evas_Ect
|
|||
Evas *evas, void *image)
|
||||
{
|
||||
RGBA_Image *im = image;
|
||||
Eina_Bool b;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN(image);
|
||||
if (eo_finalized_get(obj))
|
||||
|
|
|
@ -178,7 +178,6 @@ START_TEST(edje_test_masking)
|
|||
Evas *evas = EDJE_TEST_INIT_EVAS();
|
||||
const Evas_Object *sub, *clip2, *clip;
|
||||
Evas_Object *obj;
|
||||
Eina_Bool b;
|
||||
|
||||
obj = edje_object_add(evas);
|
||||
fail_unless(edje_object_file_set(obj, test_layout_get("test_masking.edj"), "test_group"));
|
||||
|
@ -213,7 +212,6 @@ START_TEST(edje_test_filters)
|
|||
const Evas_Object *text, *sub;
|
||||
Evas_Object *obj, *src = NULL;
|
||||
const char *prg, *name;
|
||||
Eina_Bool b;
|
||||
|
||||
setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1);
|
||||
|
||||
|
@ -254,7 +252,6 @@ START_TEST(edje_test_snapshot)
|
|||
Evas *evas = EDJE_TEST_INIT_EVAS();
|
||||
const Evas_Object *sub;
|
||||
Evas_Object *obj;
|
||||
Eina_Bool b;
|
||||
|
||||
setenv("EVAS_DATA_DIR", EVAS_DATA_DIR, 1);
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ _a_get(Eo *obj, void *class_data EINA_UNUSED)
|
|||
static Eo *
|
||||
_constructor(Eo *obj, void *class_data EINA_UNUSED)
|
||||
{
|
||||
Eina_Bool tmp;
|
||||
obj = eo_constructor(eo_super(obj, MY_CLASS));
|
||||
|
||||
Eo *simple = eo_add(SIMPLE_CLASS, obj);
|
||||
|
|
|
@ -26,7 +26,6 @@ _a_changed_cb(void *data, const Eo_Event *event)
|
|||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
Eina_Bool tmp;
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
eo_init();
|
||||
|
|
|
@ -53,8 +53,8 @@ _class_print2(Eo_Class *klass, void *class_data EINA_UNUSED)
|
|||
|
||||
EAPI EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
|
||||
EAPI EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE);
|
||||
EAPI EO_FUNC_BODY(simple_class_print, Eina_Bool, EINA_FALSE);
|
||||
EAPI EO_FUNC_BODY(simple_class_print2, Eina_Bool, EINA_FALSE);
|
||||
EAPI EO_FUNC_BODY_CONST(simple_class_print, Eina_Bool, EINA_FALSE);
|
||||
EAPI EO_FUNC_BODY_CONST(simple_class_print2, Eina_Bool, EINA_FALSE);
|
||||
|
||||
static Eo_Op_Description op_descs[] = {
|
||||
EO_OP_FUNC(simple_a_set, _a_set),
|
||||
|
|
|
@ -8,8 +8,8 @@ typedef struct
|
|||
|
||||
EAPI void simple_a_set(Eo *obj, int a);
|
||||
EAPI Eina_Bool simple_a_print(Eo *obj);
|
||||
EAPI Eina_Bool simple_class_print(Eo *obj);
|
||||
EAPI Eina_Bool simple_class_print2(Eo *obj);
|
||||
EAPI Eina_Bool simple_class_print(const Eo *obj);
|
||||
EAPI Eina_Bool simple_class_print2(const Eo *obj);
|
||||
|
||||
extern const Eo_Event_Description _SIG_A_CHANGED;
|
||||
#define SIG_A_CHANGED (&(_SIG_A_CHANGED))
|
||||
|
|
|
@ -27,7 +27,7 @@ _a_set(Eo *obj, void *class_data, int a)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
_cb_added(void *data, const Eo_Event *event)
|
||||
_cb_added(void *data EINA_UNUSED, const Eo_Event *event)
|
||||
{
|
||||
Simple_Public_Data *pd = eo_data_scope_get(event->obj, MY_CLASS);
|
||||
const Eo_Callback_Array_Item *callback_array = event->event_info;
|
||||
|
@ -42,7 +42,7 @@ _cb_added(void *data, const Eo_Event *event)
|
|||
}
|
||||
|
||||
Eina_Bool
|
||||
_cb_deled(void *data, const Eo_Event *event)
|
||||
_cb_deled(void *data EINA_UNUSED, const Eo_Event *event)
|
||||
{
|
||||
Simple_Public_Data *pd = eo_data_scope_get(event->obj, MY_CLASS);
|
||||
const Eo_Callback_Array_Item *callback_array = event->event_info;
|
||||
|
|
|
@ -84,7 +84,7 @@ _dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED, Eo_Dbg_Info *root)
|
|||
EO_VOID_FUNC_BODYV(simple_a_set, EO_FUNC_CALL(a), int a);
|
||||
EO_FUNC_BODY(simple_a_get, int, 0);
|
||||
EO_FUNC_BODY(simple_a_print, Eina_Bool, EINA_FALSE);
|
||||
EO_FUNC_BODY(simple_class_hi_print, Eina_Bool, EINA_FALSE);
|
||||
EO_FUNC_BODY_CONST(simple_class_hi_print, Eina_Bool, EINA_FALSE);
|
||||
EO_VOID_FUNC_BODY(simple_pure_virtual);
|
||||
EO_VOID_FUNC_BODY(simple_no_implementation);
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ typedef struct
|
|||
EAPI void simple_a_set(Eo *obj, int a);
|
||||
EAPI int simple_a_get(Eo *obj);
|
||||
EAPI Eina_Bool simple_a_print(Eo *obj);
|
||||
EAPI Eina_Bool simple_class_hi_print(Eo *obj);
|
||||
EAPI Eina_Bool simple_class_hi_print(const Eo *obj);
|
||||
EAPI void simple_recursive(Eo *obj, int n);
|
||||
EAPI void simple_pure_virtual(Eo *obj);
|
||||
EAPI void simple_no_implementation(Eo *obj);
|
||||
|
|
|
@ -284,7 +284,6 @@ END_TEST
|
|||
|
||||
START_TEST(eo_composite_tests)
|
||||
{
|
||||
Eina_Bool tmp;
|
||||
eo_init();
|
||||
|
||||
Eo *obj = eo_add(SIMPLE_CLASS, NULL);
|
||||
|
@ -735,7 +734,7 @@ _class_hi_print(Eo_Class *klass EINA_UNUSED, void *class_data EINA_UNUSED)
|
|||
}
|
||||
|
||||
EO_FUNC_BODY(multi_a_print, Eina_Bool, EINA_FALSE);
|
||||
EO_FUNC_BODY(multi_class_hi_print, Eina_Bool, EINA_FALSE);
|
||||
EO_FUNC_BODY_CONST(multi_class_hi_print, Eina_Bool, EINA_FALSE);
|
||||
|
||||
static Eo_Op_Description _multi_do_op_descs[] = {
|
||||
EO_OP_FUNC(multi_a_print, _a_print),
|
||||
|
|
Loading…
Reference in New Issue