aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-09-25 21:57:25 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-09-25 21:57:25 -0300
commitbb887f9869c3dd9eca72c8e65f335d148f9dbdd3 (patch)
tree7b4e33f6e249d59963cd58a81f9c78b82f653c7f /src/tests
parentelementary: migrate elementary_config to use the new macro with lifecycle sup... (diff)
downloadefl-bb887f9869c3dd9eca72c8e65f335d148f9dbdd3.tar.gz
eolian-cxx: Fix compilation errors with new any_value_ptr and mstring types
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eolian_cxx/name1_name2_type_generation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eolian_cxx/name1_name2_type_generation.c b/src/tests/eolian_cxx/name1_name2_type_generation.c
index 26dc899d5c..2517bcdd85 100644
--- a/src/tests/eolian_cxx/name1_name2_type_generation.c
+++ b/src/tests/eolian_cxx/name1_name2_type_generation.c
@@ -102,7 +102,7 @@ void _name1_name2_type_generation_instringshareown(Eo *obj EINA_UNUSED, Type_Gen
eina_stringshare_del(v);
}
-void _name1_name2_type_generation_instringptrown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, char * *v)
+void _name1_name2_type_generation_instringptrown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, const char * *v)
{
ck_assert_str_eq(*v, "foobar");
free((void*)*v);
@@ -197,7 +197,7 @@ char * _name1_name2_type_generation_returnstringown(Eo *obj EINA_UNUSED, Type_Ge
return p;
}
-char * * _name1_name2_type_generation_returnstringownptr(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED)
+const char * * _name1_name2_type_generation_returnstringownptr(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED)
{
const char foobar[] = "foobar";
char** p1 = malloc(sizeof(const char*));