summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 16:51:37 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-15 16:51:37 +0200
commit8f6ba61011bc13cd3c6288ea36d8ffa365fda543 (patch)
treea91a36bed0e7aa201e9a2dd4ba1b079a3139a604 /src/lib/ecore
parenta8b8b7efde8ffca98511af0426f7ddd6403e774d (diff)
ecore: convert existing eo files to new ownership
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_io_copier.eo2
-rw-r--r--src/lib/ecore/efl_loop.eo6
-rw-r--r--src/lib/ecore/efl_model_container.eo4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/ecore/efl_io_copier.eo b/src/lib/ecore/efl_io_copier.eo
index 5eb59b88bc..5096c1d6c8 100644
--- a/src/lib/ecore/efl_io_copier.eo
+++ b/src/lib/ecore/efl_io_copier.eo
@@ -310,7 +310,7 @@ class Efl.Io.Copier (Efl.Loop_User, Efl.Io.Closer) {
310 this case you should wait for "done", "data" or "line" 310 this case you should wait for "done", "data" or "line"
311 events and then call it to retrieve (and own!) the data. 311 events and then call it to retrieve (and own!) the data.
312 ]] 312 ]]
313 return: free(own(ptr(Eina.Binbuf)), eina_binbuf_free) @warn_unused; [[Binbuf]] 313 return: free(ptr(Eina.Binbuf), eina_binbuf_free) @owned @warn_unused; [[Binbuf]]
314 } 314 }
315 315
316 @property pending_size { 316 @property pending_size {
diff --git a/src/lib/ecore/efl_loop.eo b/src/lib/ecore/efl_loop.eo
index a5610c20e2..1fc0fac9ff 100644
--- a/src/lib/ecore/efl_loop.eo
+++ b/src/lib/ecore/efl_loop.eo
@@ -89,7 +89,7 @@ class Efl.Loop (Efl.Object)
89 This has higher priority, for low priority use 89 This has higher priority, for low priority use
90 @.Eina_FutureXXX_idle 90 @.Eina_FutureXXX_idle
91 ]] 91 ]]
92 return: own(ptr(Eina.Future)) /* TODO: future<void> */; [[The future handle.]] 92 return: ptr(Eina.Future) @owned /* TODO: future<void> */; [[The future handle.]]
93 } 93 }
94 Eina_FutureXXX_idle { 94 Eina_FutureXXX_idle {
95 [[A future promise that will be resolved from a clean main 95 [[A future promise that will be resolved from a clean main
@@ -97,7 +97,7 @@ class Efl.Loop (Efl.Object)
97 97
98 This is a low priority version of @.Eina_FutureXXX_job 98 This is a low priority version of @.Eina_FutureXXX_job
99 ]] 99 ]]
100 return: own(ptr(Eina.Future)) /* TODO: future<void> */; [[The future handle.]] 100 return: ptr(Eina.Future) @owned /* TODO: future<void> */; [[The future handle.]]
101 } 101 }
102 Eina_FutureXXX_timeout { 102 Eina_FutureXXX_timeout {
103 [[A future promise that will be resolved from a clean main 103 [[A future promise that will be resolved from a clean main
@@ -105,7 +105,7 @@ class Efl.Loop (Efl.Object)
105 params { 105 params {
106 @in time: double; [[The time from now in second that the main loop will wait before triggering it.]] 106 @in time: double; [[The time from now in second that the main loop will wait before triggering it.]]
107 } 107 }
108 return: own(ptr(Eina.Future)) /* future<void> */; [[The future handle.]] 108 return: ptr(Eina.Future) @owned /* future<void> */; [[The future handle.]]
109 } 109 }
110 job { 110 job {
111 [[Will execute that promise in the near future.]] 111 [[Will execute that promise in the near future.]]
diff --git a/src/lib/ecore/efl_model_container.eo b/src/lib/ecore/efl_model_container.eo
index a3305d4cf8..1b1a0f1ad4 100644
--- a/src/lib/ecore/efl_model_container.eo
+++ b/src/lib/ecore/efl_model_container.eo
@@ -26,7 +26,7 @@ class Efl.Model.Container (Efl.Object, Efl.Model)
26 params { 26 params {
27 name: string; [[Property name]] 27 name: string; [[Property name]]
28 } 28 }
29 return: free(own(iterator<void_ptr>), eina_iterator_free) @warn_unused; 29 return: iterator<void_ptr> @owned @warn_unused;
30 [[The currently wrapped values]] 30 [[The currently wrapped values]]
31 } 31 }
32 child_property_add { 32 child_property_add {
@@ -41,7 +41,7 @@ class Efl.Model.Container (Efl.Object, Efl.Model)
41 params { 41 params {
42 name: string; [[Property name]] 42 name: string; [[Property name]]
43 type: ptr(const(Eina.Value.Type)); [[Property type]] 43 type: ptr(const(Eina.Value.Type)); [[Property type]]
44 values: own(iterator<const(void_ptr)>); [[Values to be added]] 44 values: iterator<const(void_ptr)> @owned; [[Values to be added]]
45 } 45 }
46 return: bool; [[$true on success, $false otherwise]] 46 return: bool; [[$true on success, $false otherwise]]
47 } 47 }