diff options
author | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2017-09-22 20:16:06 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@osg.samsung.com> | 2017-09-22 20:16:06 +0200 |
commit | 3d8081d08529bbeaf2fe96bcb3667fc8c449e8aa (patch) | |
tree | 8fb1a26ae36485cad34cd0cfe68aa9bfbe6cad7d /src/lib | |
parent | a6e5caba10228d2fd63f7ffe6715b582bc49814a (diff) |
eolian: rename generic_value to any_value
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/edje/efl_canvas_layout_signal.eo | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_config.eo | 6 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_model.eo | 6 | ||||
-rw-r--r-- | src/lib/elementary/elm_prefs.eo | 4 | ||||
-rw-r--r-- | src/lib/eolian/database_validate.c | 2 | ||||
-rw-r--r-- | src/lib/eolian/eo_lexer.h | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/edje/efl_canvas_layout_signal.eo b/src/lib/edje/efl_canvas_layout_signal.eo index a7d971bf9a..67e3f3734d 100644 --- a/src/lib/edje/efl_canvas_layout_signal.eo +++ b/src/lib/edje/efl_canvas_layout_signal.eo | |||
@@ -40,7 +40,7 @@ interface Efl.Canvas.Layout_Signal | |||
40 | ]] | 40 | ]] |
41 | params { | 41 | params { |
42 | @in id: int; [[A identification number for the message to be sent]] | 42 | @in id: int; [[A identification number for the message to be sent]] |
43 | @in msg: const(generic_value); [[The message's payload]] | 43 | @in msg: const(any_value); [[The message's payload]] |
44 | } | 44 | } |
45 | } | 45 | } |
46 | signal_callback_add { | 46 | signal_callback_add { |
diff --git a/src/lib/efl/interfaces/efl_config.eo b/src/lib/efl/interfaces/efl_config.eo index 3f128cdb48..5adf7b25fa 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(generic_value)); [[Configuration option value]] | 10 | val: ptr(const(any_value)); [[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(generic_value) @owned; [[Configuration option value]] | 20 | return: ptr(any_value) @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(generic_value)> @owned; [[ | 27 | return: iterator<ptr(any_value)> @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 e95a099155..7ff10a1aef 100644 --- a/src/lib/efl/interfaces/efl_model.eo +++ b/src/lib/efl/interfaces/efl_model.eo | |||
@@ -47,9 +47,9 @@ 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(generic_value)); [[New value]] | 50 | @in value: ptr(const(any_value)); [[New value]] |
51 | } | 51 | } |
52 | return: future<generic_value>; [[Future returning the recorded value or error]] | 52 | return: future<any_value>; [[Future returning the recorded value or error]] |
53 | } | 53 | } |
54 | property_get { | 54 | property_get { |
55 | [[Retrieve the value of a given property name. | 55 | [[Retrieve the value of a given property name. |
@@ -65,7 +65,7 @@ interface Efl.Model () | |||
65 | params { | 65 | params { |
66 | @in property: string; [[Property name]] | 66 | @in property: string; [[Property name]] |
67 | } | 67 | } |
68 | return: future<generic_value>; [[Future of the value that was got]] | 68 | return: future<any_value>; [[Future of the value that was got]] |
69 | } | 69 | } |
70 | children_slice_get { | 70 | children_slice_get { |
71 | [[Get children slice OR full range. | 71 | [[Get children slice OR full range. |
diff --git a/src/lib/elementary/elm_prefs.eo b/src/lib/elementary/elm_prefs.eo index 51091638dd..32f72cba26 100644 --- a/src/lib/elementary/elm_prefs.eo +++ b/src/lib/elementary/elm_prefs.eo | |||
@@ -93,7 +93,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) | |||
93 | return: bool; [[$true, on success, $false otherwise]] | 93 | return: bool; [[$true, on success, $false otherwise]] |
94 | params { | 94 | params { |
95 | @in name: string; [[The name of the item (as declared in the prefs collection)]] | 95 | @in name: string; [[The name of the item (as declared in the prefs collection)]] |
96 | @in value: ptr(const(generic_value)); [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]] | 96 | @in value: ptr(const(any_value)); [[The value to set on the item. It should be typed as the item expects, preferably, or a conversion will take place]] |
97 | } | 97 | } |
98 | } | 98 | } |
99 | item_value_get @const { | 99 | item_value_get @const { |
@@ -106,7 +106,7 @@ class Elm.Prefs (Elm.Widget, Efl.File) | |||
106 | 106 | ||
107 | params { | 107 | params { |
108 | @in name: string; [[The name of the item (as declared in the prefs collection) to get value from]] | 108 | @in name: string; [[The name of the item (as declared in the prefs collection) to get value from]] |
109 | @out value: generic_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]] | 109 | @out value: any_value; [[Where to store the value of the item. It will be overwritten and setup with the type the item is bound to]] |
110 | } | 110 | } |
111 | } | 111 | } |
112 | item_object_get { | 112 | item_object_get { |
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c index 7ef27acdd3..5f9a6b2f71 100644 --- a/src/lib/eolian/database_validate.c +++ b/src/lib/eolian/database_validate.c | |||
@@ -187,7 +187,7 @@ _validate_type(Eolian_Type *tp) | |||
187 | case KW_stringshare: | 187 | case KW_stringshare: |
188 | tp->freefunc = eina_stringshare_add(eo_strshare_free); | 188 | tp->freefunc = eina_stringshare_add(eo_strshare_free); |
189 | break; | 189 | break; |
190 | case KW_generic_value: | 190 | case KW_any_value: |
191 | tp->freefunc = eina_stringshare_add(eo_value_free); | 191 | tp->freefunc = eina_stringshare_add(eo_value_free); |
192 | break; | 192 | break; |
193 | default: | 193 | default: |
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h index 849cc98efb..2235806e6c 100644 --- a/src/lib/eolian/eo_lexer.h +++ b/src/lib/eolian/eo_lexer.h | |||
@@ -52,7 +52,7 @@ enum Tokens | |||
52 | \ | 52 | \ |
53 | KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \ | 53 | KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \ |
54 | KW(future), \ | 54 | KW(future), \ |
55 | KW(generic_value), \ | 55 | KW(any_value), \ |
56 | KW(mstring), KW(string), KW(stringshare), \ | 56 | KW(mstring), KW(string), KW(stringshare), \ |
57 | \ | 57 | \ |
58 | KW(void_ptr), \ | 58 | KW(void_ptr), \ |