summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx/name1_name2_type_generation.c
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/eolian_cxx/name1_name2_type_generation.c
parent39318789a88cf5e3930c9ed6e9d437aa374ce7ad (diff)
eolian-cxx: Fix compilation errors with new any_value_ptr and mstring types
Diffstat (limited to 'src/tests/eolian_cxx/name1_name2_type_generation.c')
-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 26dc899..2517bcd 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
102 eina_stringshare_del(v); 102 eina_stringshare_del(v);
103} 103}
104 104
105void _name1_name2_type_generation_instringptrown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, char * *v) 105void _name1_name2_type_generation_instringptrown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, const char * *v)
106{ 106{
107 ck_assert_str_eq(*v, "foobar"); 107 ck_assert_str_eq(*v, "foobar");
108 free((void*)*v); 108 free((void*)*v);
@@ -197,7 +197,7 @@ char * _name1_name2_type_generation_returnstringown(Eo *obj EINA_UNUSED, Type_Ge
197 return p; 197 return p;
198} 198}
199 199
200char * * _name1_name2_type_generation_returnstringownptr(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED) 200const char * * _name1_name2_type_generation_returnstringownptr(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED)
201{ 201{
202 const char foobar[] = "foobar"; 202 const char foobar[] = "foobar";
203 char** p1 = malloc(sizeof(const char*)); 203 char** p1 = malloc(sizeof(const char*));