summaryrefslogtreecommitdiff
path: root/src/modules/evas/model_savers
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-25 12:17:58 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-06-25 12:18:43 +0100
commitc709f1dca20b058a9ca76a181add200fe25a8a09 (patch)
treeff60bfeb4c0316f18544948f9e9bf80026444e46 /src/modules/evas/model_savers
parent4f2ad23585ac57006c4b7ff426646c5a9fea7900 (diff)
eolian/generator: constify all prototypes for @const functions
Otherwise there would be conflicts in certain circumstances. This also requires adding const on many existing functions, and similar work is necessary in Elementary. @fix
Diffstat (limited to 'src/modules/evas/model_savers')
-rw-r--r--src/modules/evas/model_savers/eet/evas_model_save_eet.c2
-rw-r--r--src/modules/evas/model_savers/obj/evas_model_save_obj.c2
-rw-r--r--src/modules/evas/model_savers/ply/evas_model_save_ply.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/evas/model_savers/eet/evas_model_save_eet.c b/src/modules/evas/model_savers/eet/evas_model_save_eet.c
index 97ac9454f3..71e094ad1d 100644
--- a/src/modules/evas/model_savers/eet/evas_model_save_eet.c
+++ b/src/modules/evas/model_savers/eet/evas_model_save_eet.c
@@ -146,7 +146,7 @@ _set_frame_to_eet_file_from_mesh(Evas_Canvas3D_Mesh_Eet *eet_mesh)
146} 146}
147 147
148void 148void
149evas_model_save_file_eet(Evas_Canvas3D_Mesh *mesh, 149evas_model_save_file_eet(const Evas_Canvas3D_Mesh *mesh,
150 const char *file, 150 const char *file,
151 Evas_Canvas3D_Mesh_Frame *f) 151 Evas_Canvas3D_Mesh_Frame *f)
152{ 152{
diff --git a/src/modules/evas/model_savers/obj/evas_model_save_obj.c b/src/modules/evas/model_savers/obj/evas_model_save_obj.c
index 0d4cd1efdf..b009c32b6c 100644
--- a/src/modules/evas/model_savers/obj/evas_model_save_obj.c
+++ b/src/modules/evas/model_savers/obj/evas_model_save_obj.c
@@ -157,7 +157,7 @@ _save_material(Evas_Canvas3D_Mesh_Data *pd EINA_UNUSED,
157} 157}
158 158
159void 159void
160evas_model_save_file_obj(Evas_Canvas3D_Mesh *mesh, const char *_obj_file_name, Evas_Canvas3D_Mesh_Frame *f) 160evas_model_save_file_obj(const Evas_Canvas3D_Mesh *mesh, const char *_obj_file_name, Evas_Canvas3D_Mesh_Frame *f)
161{ 161{
162 int len; 162 int len;
163 char *_mtl_file_name, *_without_extention; 163 char *_mtl_file_name, *_without_extention;
diff --git a/src/modules/evas/model_savers/ply/evas_model_save_ply.c b/src/modules/evas/model_savers/ply/evas_model_save_ply.c
index 6ebddb046c..e5ad7c2b68 100644
--- a/src/modules/evas/model_savers/ply/evas_model_save_ply.c
+++ b/src/modules/evas/model_savers/ply/evas_model_save_ply.c
@@ -10,7 +10,7 @@
10#include "evas_private.h" 10#include "evas_private.h"
11 11
12void 12void
13evas_model_save_file_ply(Evas_Canvas3D_Mesh *mesh, const char *file, Evas_Canvas3D_Mesh_Frame *f) 13evas_model_save_file_ply(const Evas_Canvas3D_Mesh *mesh, const char *file, Evas_Canvas3D_Mesh_Frame *f)
14{ 14{
15 float *src_pos, *src_nor, *src_tex, *src_col; 15 float *src_pos, *src_nor, *src_tex, *src_col;
16 int i; 16 int i;