summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx/name1_name2_type_generation.eo
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-14 23:00:28 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-23 14:13:29 +0100
commitefaa4bc7f9c44a64de1af155fde18e56fab969cb (patch)
treef08a6f247b014555e30d5a57a27bd262bf67337a /src/tests/eolian_cxx/name1_name2_type_generation.eo
parent3b35bacc804f74479a58bd82ba0a93324939a0cd (diff)
eolian_cxx: add free functions to the types
later on @owned functions are enforced to have free functions attached, if not, eolian will bail out. This is ensuring this for the eolian-cxx functions Differential Revision: https://phab.enlightenment.org/D7641
Diffstat (limited to '')
-rw-r--r--src/tests/eolian_cxx/name1_name2_type_generation.eo12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tests/eolian_cxx/name1_name2_type_generation.eo b/src/tests/eolian_cxx/name1_name2_type_generation.eo
index 683cf9f031..920c75df58 100644
--- a/src/tests/eolian_cxx/name1_name2_type_generation.eo
+++ b/src/tests/eolian_cxx/name1_name2_type_generation.eo
@@ -10,7 +10,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
10 } 10 }
11 inrefintown { 11 inrefintown {
12 params { 12 params {
13 @in v: ptr(int) @owned; 13 @in v: free(ptr(int),free) @owned;
14 } 14 }
15 } 15 }
16 inrefintownfree { 16 inrefintownfree {
@@ -36,7 +36,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
36 } 36 }
37 inintptrown { 37 inintptrown {
38 params { 38 params {
39 @in v: ptr(int) @owned; 39 @in v: free(ptr(int),free) @owned;
40 } 40 }
41 } 41 }
42 inintptrownfree { 42 inintptrownfree {
@@ -78,7 +78,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
78 return: ptr(int); 78 return: ptr(int);
79 } 79 }
80 returnintptrown { 80 returnintptrown {
81 return: ptr(int) @owned; 81 return: free(ptr(int),free) @owned;
82 } 82 }
83 returnintptrownfree { 83 returnintptrownfree {
84 params { 84 params {
@@ -115,7 +115,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
115 } 115 }
116 outintptrown { 116 outintptrown {
117 params { 117 params {
118 @out v: ptr(int) @owned; 118 @out v: free(ptr(int),free) @owned;
119 } 119 }
120 } 120 }
121 outintptrownfree { 121 outintptrownfree {
@@ -166,7 +166,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
166 } 166 }
167 optionalinintptrown { 167 optionalinintptrown {
168 params { 168 params {
169 @in v: ptr(int) @owned @optional; 169 @in v: free(ptr(int),free) @owned @optional;
170 } 170 }
171 } 171 }
172 optionalinintptrownfree { 172 optionalinintptrownfree {
@@ -191,7 +191,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
191 } 191 }
192 optionaloutintptrown { 192 optionaloutintptrown {
193 params { 193 params {
194 @out v: ptr(int) @owned @optional; 194 @out v: free(ptr(int),free) @owned @optional;
195 } 195 }
196 } 196 }
197 optionaloutintptrownfree { 197 optionaloutintptrownfree {