summaryrefslogtreecommitdiff
path: root/src/tests/eolian_cxx
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
parent3b35bacc804f74479a58bd82ba0a93324939a0cd (diff)
downloadefl-efaa4bc7f9c44a64de1af155fde18e56fab969cb.tar.gz
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 'src/tests/eolian_cxx')
-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
}
inrefintown {
params {
- @in v: ptr(int) @owned;
+ @in v: free(ptr(int),free) @owned;
}
}
inrefintownfree {
@@ -36,7 +36,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
}
inintptrown {
params {
- @in v: ptr(int) @owned;
+ @in v: free(ptr(int),free) @owned;
}
}
inintptrownfree {
@@ -78,7 +78,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
return: ptr(int);
}
returnintptrown {
- return: ptr(int) @owned;
+ return: free(ptr(int),free) @owned;
}
returnintptrownfree {
params {
@@ -115,7 +115,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
}
outintptrown {
params {
- @out v: ptr(int) @owned;
+ @out v: free(ptr(int),free) @owned;
}
}
outintptrownfree {
@@ -166,7 +166,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
}
optionalinintptrown {
params {
- @in v: ptr(int) @owned @optional;
+ @in v: free(ptr(int),free) @owned @optional;
}
}
optionalinintptrownfree {
@@ -191,7 +191,7 @@ class Name1.Name2.Type_Generation extends Efl.Object
}
optionaloutintptrown {
params {
- @out v: ptr(int) @owned @optional;
+ @out v: free(ptr(int),free) @owned @optional;
}
}
optionaloutintptrownfree {