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-18 20:22:32 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-09-18 20:22:32 -0300
commit89608b15eeaa7e3844a8286a36bed5ce6a43f46b (patch)
treee0e50d390393629704cfe56570e799a48e535ebc /src/tests/eolian_cxx/name1_name2_type_generation.c
parent9c74548e082a223ed1b340dfb3e911ecf54193af (diff)
eo-cxx: Fix test errors with new Eolian @own framework
Diffstat (limited to 'src/tests/eolian_cxx/name1_name2_type_generation.c')
-rw-r--r--src/tests/eolian_cxx/name1_name2_type_generation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/eolian_cxx/name1_name2_type_generation.c b/src/tests/eolian_cxx/name1_name2_type_generation.c
index 322c18c..26dc899 100644
--- a/src/tests/eolian_cxx/name1_name2_type_generation.c
+++ b/src/tests/eolian_cxx/name1_name2_type_generation.c
@@ -102,13 +102,13 @@ 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, const char * *v) 105void _name1_name2_type_generation_instringptrown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, 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);
109} 109}
110 110
111void _name1_name2_type_generation_instringown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, const char *v EINA_UNUSED) 111void _name1_name2_type_generation_instringown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED, char *v EINA_UNUSED)
112{ 112{
113 ck_assert_str_eq(v, "foobar"); 113 ck_assert_str_eq(v, "foobar");
114 free((void*)v); 114 free((void*)v);
@@ -189,7 +189,7 @@ Eina_Stringshare* _name1_name2_type_generation_returnstringshareown(Eo *obj EINA
189 return eina_stringshare_add("foobar"); 189 return eina_stringshare_add("foobar");
190} 190}
191 191
192const char * _name1_name2_type_generation_returnstringown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED) 192char * _name1_name2_type_generation_returnstringown(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED)
193{ 193{
194 const char foobar[] = "foobar"; 194 const char foobar[] = "foobar";
195 char* p = malloc(sizeof(foobar)); 195 char* p = malloc(sizeof(foobar));
@@ -197,7 +197,7 @@ const char * _name1_name2_type_generation_returnstringown(Eo *obj EINA_UNUSED, T
197 return p; 197 return p;
198} 198}
199 199
200const char * * _name1_name2_type_generation_returnstringownptr(Eo *obj EINA_UNUSED, Type_Generation_Data *pd EINA_UNUSED) 200char * * _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*));