diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2019-08-29 13:46:35 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2019-08-29 13:58:16 +0200 |
commit | 9c018613ee9a479ae49b4927ac9ff166b2fd864e (patch) | |
tree | b5995006b2a56897838e28fc4d9144be10bd4e7f | |
parent | f7cfd0f8339bcfa13a89a7ce0a1c005c77bf05c7 (diff) |
eolian: drop @cref
In the end this was just a failed experiment that didn't turn
out to be practical. For now, revert back to ptr(const(T)) until
a proper replacement for pointer syntax is added.
-rw-r--r-- | src/lib/ecore/efl_app.eo | 4 | ||||
-rw-r--r-- | src/lib/ecore/efl_container_model.eo | 2 | ||||
-rw-r--r-- | src/lib/ecore_con/efl_net_control_manager.eo | 2 | ||||
-rw-r--r-- | src/lib/ector/ector_renderer.eo | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_gfx_buffer.eo | 8 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_cursor.eo | 14 | ||||
-rw-r--r-- | src/lib/eldbus/eldbus_model_method.eo | 2 | ||||
-rw-r--r-- | src/lib/eldbus/eldbus_model_proxy.eo | 2 | ||||
-rw-r--r-- | src/lib/eldbus/eldbus_model_signal.eo | 2 | ||||
-rw-r--r-- | src/lib/elementary/efl_access_object.eo | 2 | ||||
-rw-r--r-- | src/lib/elementary/efl_access_widget_action.eo | 2 | ||||
-rw-r--r-- | src/lib/eo/efl_object.eo | 4 | ||||
-rw-r--r-- | src/lib/eolian/eo_lexer.h | 2 | ||||
-rw-r--r-- | src/lib/eolian/eo_parser.c | 8 | ||||
-rw-r--r-- | src/lib/evas/canvas/efl_canvas_text.eo | 12 | ||||
-rw-r--r-- | src/lib/evas/canvas/efl_canvas_vg_node.eo | 2 |
16 files changed, 32 insertions, 38 deletions
diff --git a/src/lib/ecore/efl_app.eo b/src/lib/ecore/efl_app.eo index f38ec83..d4af8f6 100644 --- a/src/lib/ecore/efl_app.eo +++ b/src/lib/ecore/efl_app.eo | |||
@@ -26,7 +26,7 @@ abstract Efl.App extends Efl.Loop implements Efl.Core.Command_Line | |||
26 | ]] | 26 | ]] |
27 | get {} | 27 | get {} |
28 | values { | 28 | values { |
29 | @cref version: Efl.Version; [[Efl build version]] | 29 | version: ptr(const(Efl.Version)); [[Efl build version]] |
30 | } | 30 | } |
31 | } | 31 | } |
32 | @property efl_version { | 32 | @property efl_version { |
@@ -36,7 +36,7 @@ abstract Efl.App extends Efl.Loop implements Efl.Core.Command_Line | |||
36 | ]] | 36 | ]] |
37 | get {} | 37 | get {} |
38 | values { | 38 | values { |
39 | @cref version: Efl.Version; [[Efl version]] | 39 | version: ptr(const(Efl.Version)); [[Efl version]] |
40 | } | 40 | } |
41 | } | 41 | } |
42 | } | 42 | } |
diff --git a/src/lib/ecore/efl_container_model.eo b/src/lib/ecore/efl_container_model.eo index 0c49805..3b3ab00 100644 --- a/src/lib/ecore/efl_container_model.eo +++ b/src/lib/ecore/efl_container_model.eo | |||
@@ -32,7 +32,7 @@ class @beta Efl.Container_Model extends Efl.Composite_Model | |||
32 | Value type is required for compatibility with the @Efl.Model API.]] | 32 | Value type is required for compatibility with the @Efl.Model API.]] |
33 | params { | 33 | params { |
34 | name: string; [[Property name]] | 34 | name: string; [[Property name]] |
35 | @cref type: Eina.Value_Type; [[Property type]] | 35 | @in type: ptr(const(Eina.Value_Type)); [[Property type]] |
36 | values: iterator<const(void_ptr)> @owned; [[Values to be added]] | 36 | values: iterator<const(void_ptr)> @owned; [[Values to be added]] |
37 | } | 37 | } |
38 | return: bool; [[$true on success, $false otherwise]] | 38 | return: bool; [[$true on success, $false otherwise]] |
diff --git a/src/lib/ecore_con/efl_net_control_manager.eo b/src/lib/ecore_con/efl_net_control_manager.eo index fb2fabf..137d7fe 100644 --- a/src/lib/ecore_con/efl_net_control_manager.eo +++ b/src/lib/ecore_con/efl_net_control_manager.eo | |||
@@ -194,7 +194,7 @@ class @beta Efl.Net.Control.Manager extends Efl.Loop_Consumer { | |||
194 | [[If event "agent_request_input" was emitted, this will reply with the requested data]] | 194 | [[If event "agent_request_input" was emitted, this will reply with the requested data]] |
195 | params { | 195 | params { |
196 | name: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.name was present, this should contain the network name or the 'ssid' parameter should be used.]] | 196 | name: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.name was present, this should contain the network name or the 'ssid' parameter should be used.]] |
197 | @cref ssid: Eina.Slice; [[If @Efl.Net.Control.Agent_Request_Input_Field.ssid was present, this should contain the network SSID or the 'name' parameter should be used.]] | 197 | @in ssid: ptr(const(Eina.Slice)); [[If @Efl.Net.Control.Agent_Request_Input_Field.ssid was present, this should contain the network SSID or the 'name' parameter should be used.]] |
198 | username: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.username was present, this should contain the identity or username]] | 198 | username: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.username was present, this should contain the identity or username]] |
199 | passphrase: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.passphrase was present, this should contain the password or passphrase, more details on how it should be interpreted was given in Efl.Net.Control.Agent_Request_Input.passphrase_type.]] | 199 | passphrase: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.passphrase was present, this should contain the password or passphrase, more details on how it should be interpreted was given in Efl.Net.Control.Agent_Request_Input.passphrase_type.]] |
200 | wps: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.wps was present, this should contain the WPS PIN or an empty string "" to use the WPS push button instead.]] | 200 | wps: string; [[If @Efl.Net.Control.Agent_Request_Input_Field.wps was present, this should contain the WPS PIN or an empty string "" to use the WPS push button instead.]] |
diff --git a/src/lib/ector/ector_renderer.eo b/src/lib/ector/ector_renderer.eo index 57726f3..4d7279a 100644 --- a/src/lib/ector/ector_renderer.eo +++ b/src/lib/ector/ector_renderer.eo | |||
@@ -25,7 +25,7 @@ abstract @beta Ector.Renderer extends Efl.Object | |||
25 | get { | 25 | get { |
26 | } | 26 | } |
27 | values { | 27 | values { |
28 | @cref m: Eina.Matrix3; [[Transformation matrix]] | 28 | m: ptr(const(Eina.Matrix3)); [[Transformation matrix]] |
29 | } | 29 | } |
30 | } | 30 | } |
31 | @property origin { | 31 | @property origin { |
diff --git a/src/lib/efl/interfaces/efl_gfx_buffer.eo b/src/lib/efl/interfaces/efl_gfx_buffer.eo index 38da6c8..fc199ea 100644 --- a/src/lib/efl/interfaces/efl_gfx_buffer.eo +++ b/src/lib/efl/interfaces/efl_gfx_buffer.eo | |||
@@ -95,7 +95,7 @@ interface @beta Efl.Gfx.Buffer | |||
95 | image object to be updated (redrawn) at the next rendering cycle. | 95 | image object to be updated (redrawn) at the next rendering cycle. |
96 | ]] | 96 | ]] |
97 | params { | 97 | params { |
98 | @cref region: Eina.Rect @optional; [[The updated region.]] | 98 | @in region: ptr(const(Eina.Rect)) @optional; [[The updated region.]] |
99 | } | 99 | } |
100 | } | 100 | } |
101 | 101 | ||
@@ -131,7 +131,7 @@ interface @beta Efl.Gfx.Buffer | |||
131 | params { | 131 | params { |
132 | @in mode: Efl.Gfx.Buffer_Access_Mode; [[Specifies whether to map for read-only, | 132 | @in mode: Efl.Gfx.Buffer_Access_Mode; [[Specifies whether to map for read-only, |
133 | write-only or read-write access (OR combination of flags).]] | 133 | write-only or read-write access (OR combination of flags).]] |
134 | @cref region: Eina.Rect @optional; [[The region to map.]] | 134 | @in region: ptr(const(Eina.Rect)) @optional; [[The region to map.]] |
135 | @in cspace: Efl.Gfx.Colorspace @optional; [[Requested colorspace. If different from the internal cspace, | 135 | @in cspace: Efl.Gfx.Colorspace @optional; [[Requested colorspace. If different from the internal cspace, |
136 | map should try to convert the data into a new buffer. | 136 | map should try to convert the data into a new buffer. |
137 | argb8888 by default.]] | 137 | argb8888 by default.]] |
@@ -174,7 +174,7 @@ interface @beta Efl.Gfx.Buffer | |||
174 | $slice should not be the return value of @.buffer_managed_get. | 174 | $slice should not be the return value of @.buffer_managed_get. |
175 | ]] | 175 | ]] |
176 | params { | 176 | params { |
177 | @cref slice: Eina.Slice; [[If $null, allocates an empty buffer]] | 177 | @in slice: ptr(const(Eina.Slice)); [[If $null, allocates an empty buffer]] |
178 | @in size: Eina.Size2D; [[The size in pixels.]] | 178 | @in size: Eina.Size2D; [[The size in pixels.]] |
179 | @in stride: int @optional; [[If 0, automatically guessed from the $width.]] | 179 | @in stride: int @optional; [[If 0, automatically guessed from the $width.]] |
180 | @in cspace: Efl.Gfx.Colorspace @optional; [[argb8888 by default.]] | 180 | @in cspace: Efl.Gfx.Colorspace @optional; [[argb8888 by default.]] |
@@ -199,7 +199,7 @@ interface @beta Efl.Gfx.Buffer | |||
199 | internally. | 199 | internally. |
200 | ]] | 200 | ]] |
201 | params { | 201 | params { |
202 | @cref slice: Eina.Slice; [[If $null, detaches the previous buffer.]] | 202 | @in slice: ptr(const(Eina.Slice)); [[If $null, detaches the previous buffer.]] |
203 | @in size: Eina.Size2D; [[The size in pixels.]] | 203 | @in size: Eina.Size2D; [[The size in pixels.]] |
204 | @in stride: int @optional; [[If 0, automatically guessed from the $width.]] | 204 | @in stride: int @optional; [[If 0, automatically guessed from the $width.]] |
205 | @in cspace: Efl.Gfx.Colorspace @optional; [[argb8888 by default.]] | 205 | @in cspace: Efl.Gfx.Colorspace @optional; [[argb8888 by default.]] |
diff --git a/src/lib/efl/interfaces/efl_text_cursor.eo b/src/lib/efl/interfaces/efl_text_cursor.eo index 50fc3ae..cef645a 100644 --- a/src/lib/efl/interfaces/efl_text_cursor.eo +++ b/src/lib/efl/interfaces/efl_text_cursor.eo | |||
@@ -54,7 +54,7 @@ interface @beta Efl.Text_Cursor { | |||
54 | content: Eina.Unicode; [[The unicode codepoint of the character]] | 54 | content: Eina.Unicode; [[The unicode codepoint of the character]] |
55 | } | 55 | } |
56 | keys { | 56 | keys { |
57 | @cref cur: Efl.Text_Cursor_Cursor; [[Cursor object]] | 57 | cur: ptr(const(Efl.Text_Cursor_Cursor)); [[Cursor object]] |
58 | } | 58 | } |
59 | } | 59 | } |
60 | @property cursor_geometry { | 60 | @property cursor_geometry { |
@@ -70,7 +70,7 @@ interface @beta Efl.Text_Cursor { | |||
70 | return: bool; [[ $true if split cursor, $false otherwise.]] | 70 | return: bool; [[ $true if split cursor, $false otherwise.]] |
71 | } | 71 | } |
72 | keys { | 72 | keys { |
73 | @cref cur: Efl.Text_Cursor_Cursor; [[Cursor object]] | 73 | cur: ptr(const(Efl.Text_Cursor_Cursor)); [[Cursor object]] |
74 | ctype: Efl.Text_Cursor_Type; [[The type of the cursor.]] | 74 | ctype: Efl.Text_Cursor_Type; [[The type of the cursor.]] |
75 | } | 75 | } |
76 | values { | 76 | values { |
@@ -97,16 +97,16 @@ interface @beta Efl.Text_Cursor { | |||
97 | cursor_equal { | 97 | cursor_equal { |
98 | [[Check if two cursors are equal]] | 98 | [[Check if two cursors are equal]] |
99 | params { | 99 | params { |
100 | @cref cur1: Efl.Text_Cursor_Cursor; [[Cursor 1 object]] | 100 | @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Cursor 1 object]] |
101 | @cref cur2: Efl.Text_Cursor_Cursor; [[Cursor 2 object]] | 101 | @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[Cursor 2 object]] |
102 | } | 102 | } |
103 | return: bool; [[$true if cursors are equal, $false otherwise]] | 103 | return: bool; [[$true if cursors are equal, $false otherwise]] |
104 | } | 104 | } |
105 | cursor_compare { | 105 | cursor_compare { |
106 | [[Compare two cursors]] | 106 | [[Compare two cursors]] |
107 | params { | 107 | params { |
108 | @cref cur1: Efl.Text_Cursor_Cursor; [[Cursor 1 object]] | 108 | @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Cursor 1 object]] |
109 | @cref cur2: Efl.Text_Cursor_Cursor; [[Cursor 2 object]] | 109 | @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[Cursor 2 object]] |
110 | } | 110 | } |
111 | return: int; [[Difference between cursors]] | 111 | return: int; [[Difference between cursors]] |
112 | } | 112 | } |
@@ -114,7 +114,7 @@ interface @beta Efl.Text_Cursor { | |||
114 | [[Copy existing cursor]] | 114 | [[Copy existing cursor]] |
115 | params { | 115 | params { |
116 | /* @out */ dst: ptr(Efl.Text_Cursor_Cursor); [[Destination cursor]] | 116 | /* @out */ dst: ptr(Efl.Text_Cursor_Cursor); [[Destination cursor]] |
117 | @cref src: Efl.Text_Cursor_Cursor; [[Source cursor]] | 117 | @in src: ptr(const(Efl.Text_Cursor_Cursor)); [[Source cursor]] |
118 | } | 118 | } |
119 | } | 119 | } |
120 | cursor_char_next { | 120 | cursor_char_next { |
diff --git a/src/lib/eldbus/eldbus_model_method.eo b/src/lib/eldbus/eldbus_model_method.eo index 00e8b7e..6bffd97 100644 --- a/src/lib/eldbus/eldbus_model_method.eo +++ b/src/lib/eldbus/eldbus_model_method.eo | |||
@@ -16,7 +16,7 @@ class @beta Eldbus.Model.Method extends Eldbus.Model.Arguments { | |||
16 | [[Object]] | 16 | [[Object]] |
17 | set {} | 17 | set {} |
18 | values { | 18 | values { |
19 | @cref method: Eldbus.Introspection.Method; [[The introspected interface]] | 19 | method: ptr(const(Eldbus.Introspection.Method)); [[The introspected interface]] |
20 | } | 20 | } |
21 | } | 21 | } |
22 | call { | 22 | call { |
diff --git a/src/lib/eldbus/eldbus_model_proxy.eo b/src/lib/eldbus/eldbus_model_proxy.eo index 2f85000..e8d6c50 100644 --- a/src/lib/eldbus/eldbus_model_proxy.eo +++ b/src/lib/eldbus/eldbus_model_proxy.eo | |||
@@ -15,7 +15,7 @@ class @beta Eldbus.Model.Proxy extends Eldbus.Model { | |||
15 | [[Object]] | 15 | [[Object]] |
16 | set {} | 16 | set {} |
17 | values { | 17 | values { |
18 | @cref interface: Eldbus.Introspection.Interface; [[The introspected interface]] | 18 | interface: ptr(const(Eldbus.Introspection.Interface)); [[The introspected interface]] |
19 | } | 19 | } |
20 | } | 20 | } |
21 | @property proxy_name { | 21 | @property proxy_name { |
diff --git a/src/lib/eldbus/eldbus_model_signal.eo b/src/lib/eldbus/eldbus_model_signal.eo index 1698018..7227840 100644 --- a/src/lib/eldbus/eldbus_model_signal.eo +++ b/src/lib/eldbus/eldbus_model_signal.eo | |||
@@ -8,7 +8,7 @@ class @beta Eldbus.Model.Signal extends Eldbus.Model.Arguments { | |||
8 | @since 1.16]] | 8 | @since 1.16]] |
9 | params { | 9 | params { |
10 | @in proxy: ptr(Eldbus.Proxy); [[Eldbus proxy]] | 10 | @in proxy: ptr(Eldbus.Proxy); [[Eldbus proxy]] |
11 | @cref signal: Eldbus.Introspection.Signal; [[The introspected method]] | 11 | @in signal: ptr(const(Eldbus.Introspection.Signal)); [[The introspected method]] |
12 | } | 12 | } |
13 | } | 13 | } |
14 | } | 14 | } |
diff --git a/src/lib/elementary/efl_access_object.eo b/src/lib/elementary/efl_access_object.eo index 8f23a9d..5d8a2a0 100644 --- a/src/lib/elementary/efl_access_object.eo +++ b/src/lib/elementary/efl_access_object.eo | |||
@@ -376,7 +376,7 @@ mixin @beta Efl.Access.Object requires Efl.Object | |||
376 | [[Emit event]] | 376 | [[Emit event]] |
377 | params { | 377 | params { |
378 | @in accessible: Efl.Access.Object; [[Accessibility object.]] | 378 | @in accessible: Efl.Access.Object; [[Accessibility object.]] |
379 | @cref event: Efl.Event_Description; [[Accessibility event type.]] | 379 | @in event: ptr(const(Efl.Event_Description)); [[Accessibility event type.]] |
380 | @in event_info: void_ptr; [[Accessibility event details.]] | 380 | @in event_info: void_ptr; [[Accessibility event details.]] |
381 | } | 381 | } |
382 | } | 382 | } |
diff --git a/src/lib/elementary/efl_access_widget_action.eo b/src/lib/elementary/efl_access_widget_action.eo index 58f7959..c6f6bdd 100644 --- a/src/lib/elementary/efl_access_widget_action.eo +++ b/src/lib/elementary/efl_access_widget_action.eo | |||
@@ -11,7 +11,7 @@ mixin @beta Efl.Access.Widget.Action extends Efl.Access.Action | |||
11 | get @pure_virtual { | 11 | get @pure_virtual { |
12 | } | 12 | } |
13 | values { | 13 | values { |
14 | @cref actions: ptr(const(Efl.Access.Action_Data)); | 14 | actions: ptr(const(Efl.Access.Action_Data)); |
15 | [[NULL-terminated array of Efl.Access.Action_Data.]] | 15 | [[NULL-terminated array of Efl.Access.Action_Data.]] |
16 | } | 16 | } |
17 | } | 17 | } |
diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo index 12f1259..27a0a49 100644 --- a/src/lib/eo/efl_object.eo +++ b/src/lib/eo/efl_object.eo | |||
@@ -330,7 +330,7 @@ abstract Efl.Object | |||
330 | by inserting a handler at the right position in the stack of event handler on the object that | 330 | by inserting a handler at the right position in the stack of event handler on the object that |
331 | emit the event.]] | 331 | emit the event.]] |
332 | params { | 332 | params { |
333 | @cref desc: Efl.Event_Description; [[The description of the event to listen to]] | 333 | @in desc: ptr(const(Efl.Event_Description)); [[The description of the event to listen to]] |
334 | @in priority: Efl.Callback_Priority; [[The priority at which to insert the event forwarder handler | 334 | @in priority: Efl.Callback_Priority; [[The priority at which to insert the event forwarder handler |
335 | in the existing list of handler on the source of event object. The lower the number, the higher | 335 | in the existing list of handler on the source of event object. The lower the number, the higher |
336 | the priority. As a shortcut @Efl.Callback_Priority_Before, | 336 | the priority. As a shortcut @Efl.Callback_Priority_Before, |
@@ -342,7 +342,7 @@ abstract Efl.Object | |||
342 | event_callback_forwarder_del { | 342 | event_callback_forwarder_del { |
343 | [[Remove an event callback forwarder for a specified event and object.]] | 343 | [[Remove an event callback forwarder for a specified event and object.]] |
344 | params { | 344 | params { |
345 | @cref desc: Efl.Event_Description; [[The description of the event to listen to]] | 345 | @in desc: ptr(const(Efl.Event_Description)); [[The description of the event to listen to]] |
346 | @in new_obj: Efl.Object; [[The object to emit events from]] | 346 | @in new_obj: Efl.Object; [[The object to emit events from]] |
347 | } | 347 | } |
348 | } | 348 | } |
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h index 805589e..1611b24 100644 --- a/src/lib/eolian/eo_lexer.h +++ b/src/lib/eolian/eo_lexer.h | |||
@@ -33,7 +33,7 @@ enum Tokens | |||
33 | KW(keys), KW(legacy), KW(methods), KW(mixin), KW(params), \ | 33 | KW(keys), KW(legacy), KW(methods), KW(mixin), KW(params), \ |
34 | KW(parse), KW(parts), KW(ptr), KW(set), KW(type), KW(values), KW(var), KW(requires), \ | 34 | KW(parse), KW(parts), KW(ptr), KW(set), KW(type), KW(values), KW(var), KW(requires), \ |
35 | \ | 35 | \ |
36 | KWAT(auto), KWAT(beta), KWAT(c_name), KWAT(const), KWAT(cref), \ | 36 | KWAT(auto), KWAT(beta), KWAT(c_name), KWAT(const), \ |
37 | KWAT(empty), KWAT(extern), KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), \ | 37 | KWAT(empty), KWAT(extern), KWAT(free), KWAT(hot), KWAT(in), KWAT(inout), \ |
38 | KWAT(no_unused), KWAT(nullable), KWAT(optional), KWAT(out), KWAT(owned), \ | 38 | KWAT(no_unused), KWAT(nullable), KWAT(optional), KWAT(out), KWAT(owned), \ |
39 | KWAT(private), KWAT(property), KWAT(protected), KWAT(restart), \ | 39 | KWAT(private), KWAT(property), KWAT(protected), KWAT(restart), \ |
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c index cf8a25b..b24a351 100644 --- a/src/lib/eolian/eo_parser.c +++ b/src/lib/eolian/eo_parser.c | |||
@@ -1058,13 +1058,12 @@ parse_param(Eo_Lexer *ls, Eina_List **params, Eina_Bool allow_inout, | |||
1058 | { | 1058 | { |
1059 | Eina_Bool has_optional = EINA_FALSE, | 1059 | Eina_Bool has_optional = EINA_FALSE, |
1060 | has_owned = EINA_FALSE; | 1060 | has_owned = EINA_FALSE; |
1061 | Eina_Bool cref = (ls->t.kw == KW_at_cref); | ||
1062 | Eolian_Function_Parameter *par = calloc(1, sizeof(Eolian_Function_Parameter)); | 1061 | Eolian_Function_Parameter *par = calloc(1, sizeof(Eolian_Function_Parameter)); |
1063 | par->param_dir = EOLIAN_IN_PARAM; | 1062 | par->param_dir = EOLIAN_IN_PARAM; |
1064 | FILL_BASE(par->base, ls, ls->line_number, ls->column, FUNCTION_PARAMETER); | 1063 | FILL_BASE(par->base, ls, ls->line_number, ls->column, FUNCTION_PARAMETER); |
1065 | *params = eina_list_append(*params, par); | 1064 | *params = eina_list_append(*params, par); |
1066 | eolian_object_ref(&par->base); | 1065 | eolian_object_ref(&par->base); |
1067 | if (cref || (allow_inout && (ls->t.kw == KW_at_in))) | 1066 | if (allow_inout && (ls->t.kw == KW_at_in)) |
1068 | { | 1067 | { |
1069 | par->param_dir = EOLIAN_IN_PARAM; | 1068 | par->param_dir = EOLIAN_IN_PARAM; |
1070 | eo_lexer_get(ls); | 1069 | eo_lexer_get(ls); |
@@ -1098,11 +1097,6 @@ parse_param(Eo_Lexer *ls, Eina_List **params, Eina_Bool allow_inout, | |||
1098 | eo_lexer_expr_release_ref(ls, par->value); | 1097 | eo_lexer_expr_release_ref(ls, par->value); |
1099 | check_match(ls, ')', '(', line, col); | 1098 | check_match(ls, ')', '(', line, col); |
1100 | } | 1099 | } |
1101 | if (cref) | ||
1102 | { | ||
1103 | par->type->is_const = EINA_TRUE; | ||
1104 | par->type->is_ptr = EINA_TRUE; | ||
1105 | } | ||
1106 | for (;;) switch (ls->t.kw) | 1100 | for (;;) switch (ls->t.kw) |
1107 | { | 1101 | { |
1108 | case KW_at_optional: | 1102 | case KW_at_optional: |
diff --git a/src/lib/evas/canvas/efl_canvas_text.eo b/src/lib/evas/canvas/efl_canvas_text.eo index f80b4d1..bc206cf 100644 --- a/src/lib/evas/canvas/efl_canvas_text.eo +++ b/src/lib/evas/canvas/efl_canvas_text.eo | |||
@@ -138,8 +138,8 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text, | |||
138 | ]] | 138 | ]] |
139 | return: mstring @owned; [[The text in the given range]] | 139 | return: mstring @owned; [[The text in the given range]] |
140 | params { | 140 | params { |
141 | @cref cur1: Efl.Text_Cursor_Cursor; [[Start of range]] | 141 | @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] |
142 | @cref cur2: Efl.Text_Cursor_Cursor; [[End of range]] | 142 | @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] |
143 | } | 143 | } |
144 | } | 144 | } |
145 | range_geometry_get { | 145 | range_geometry_get { |
@@ -149,8 +149,8 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text, | |||
149 | segments in the given range [$cur1, $cur2]. | 149 | segments in the given range [$cur1, $cur2]. |
150 | ]] | 150 | ]] |
151 | params { | 151 | params { |
152 | @cref cur1: Efl.Text_Cursor_Cursor; [[Start of range]] | 152 | @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] |
153 | @cref cur2: Efl.Text_Cursor_Cursor; [[End of range]] | 153 | @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] |
154 | } | 154 | } |
155 | return: iterator<ptr(Eina.Rect)> @owned; [[ | 155 | return: iterator<ptr(Eina.Rect)> @owned; [[ |
156 | Iterator on all geoemtries of the given range | 156 | Iterator on all geoemtries of the given range |
@@ -164,8 +164,8 @@ class @beta Efl.Canvas.Text extends Efl.Canvas.Object implements Efl.Text, | |||
164 | version of @.range_geometry_get. | 164 | version of @.range_geometry_get. |
165 | ]] | 165 | ]] |
166 | params { | 166 | params { |
167 | @cref cur1: Efl.Text_Cursor_Cursor; [[Start of range]] | 167 | @in cur1: ptr(const(Efl.Text_Cursor_Cursor)); [[Start of range]] |
168 | @cref cur2: Efl.Text_Cursor_Cursor; [[End of range]] | 168 | @in cur2: ptr(const(Efl.Text_Cursor_Cursor)); [[End of range]] |
169 | } | 169 | } |
170 | return: iterator<ptr(Eina.Rect)> @owned; [[ | 170 | return: iterator<ptr(Eina.Rect)> @owned; [[ |
171 | Iterator on all simple geometries of the given range | 171 | Iterator on all simple geometries of the given range |
diff --git a/src/lib/evas/canvas/efl_canvas_vg_node.eo b/src/lib/evas/canvas/efl_canvas_vg_node.eo index 641cda1..9c5935e 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_node.eo +++ b/src/lib/evas/canvas/efl_canvas_vg_node.eo | |||
@@ -16,7 +16,7 @@ abstract @beta Efl.Canvas.Vg.Node extends Efl.Object implements Efl.Gfx.Entity, | |||
16 | ]] | 16 | ]] |
17 | } | 17 | } |
18 | values { | 18 | values { |
19 | @cref m: Eina.Matrix3; [[Transformation matrix.]] | 19 | m: ptr(const(Eina.Matrix3)); [[Transformation matrix.]] |
20 | } | 20 | } |
21 | } | 21 | } |
22 | @property origin { | 22 | @property origin { |