summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-22 20:25:31 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2017-09-22 20:25:31 +0200
commit9009d3dae40bb702de940a995f2830d5a72a2ab2 (patch)
tree65cc04ef978b42097b4857b208426bed8869b113 /src/lib/efl
parent3d8081d08529bbeaf2fe96bcb3667fc8c449e8aa (diff)
eolian: add any_value_ptr
Because pointer Eina_Values and value Eina_Values have slightly different semantics (when it comes to resource management) it's better to split them.
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_config.eo6
-rw-r--r--src/lib/efl/interfaces/efl_model.eo2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/efl/interfaces/efl_config.eo b/src/lib/efl/interfaces/efl_config.eo
index 5adf7b25fa..7dec728efd 100644
--- a/src/lib/efl/interfaces/efl_config.eo
+++ b/src/lib/efl/interfaces/efl_config.eo
@@ -7,7 +7,7 @@ interface Efl.Config ()
7 [[Set configuration]] 7 [[Set configuration]]
8 params { 8 params {
9 name: string; [[Configuration option name]] 9 name: string; [[Configuration option name]]
10 val: ptr(const(any_value)); [[Configuration option value]] 10 val: const(any_value_ptr); [[Configuration option value]]
11 } 11 }
12 return: bool; [[$false in case of error: value type was invalid, the 12 return: bool; [[$false in case of error: value type was invalid, the
13 config can't be changed, config does not exist...]] 13 config can't be changed, config does not exist...]]
@@ -17,14 +17,14 @@ interface Efl.Config ()
17 params { 17 params {
18 name: string; [[Configuration option name]] 18 name: string; [[Configuration option name]]
19 } 19 }
20 return: ptr(any_value) @owned; [[Configuration option value]] 20 return: any_value_ptr @owned; [[Configuration option value]]
21 } 21 }
22 config_list_get @const { 22 config_list_get @const {
23 [[Returns a list of generic values under a given key.]] 23 [[Returns a list of generic values under a given key.]]
24 params { 24 params {
25 @in name: string; [[Configuration option name]] 25 @in name: string; [[Configuration option name]]
26 } 26 }
27 return: iterator<ptr(any_value)> @owned; [[ 27 return: iterator<any_value_ptr> @owned; [[
28 List of configuration option values]] 28 List of configuration option values]]
29 } 29 }
30 } 30 }
diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo
index 7ff10a1aef..39db6c4fa0 100644
--- a/src/lib/efl/interfaces/efl_model.eo
+++ b/src/lib/efl/interfaces/efl_model.eo
@@ -47,7 +47,7 @@ interface Efl.Model ()
47 ]] 47 ]]
48 params { 48 params {
49 @in property: string; [[Property name]] 49 @in property: string; [[Property name]]
50 @in value: ptr(const(any_value)); [[New value]] 50 @in value: const(any_value_ptr); [[New value]]
51 } 51 }
52 return: future<any_value>; [[Future returning the recorded value or error]] 52 return: future<any_value>; [[Future returning the recorded value or error]]
53 } 53 }