diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2019-09-10 14:29:06 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2019-09-10 14:29:06 +0200 |
commit | 31658e6e1486f1ee30c5e5dad6ffd0e3c72771a7 (patch) | |
tree | 3eaad46f43e82729ae2fa936a21a5b6e8a770a41 | |
parent | a5c7f92a52db98291e381e306842ea147631e103 (diff) |
efl: replace usage of ptr() in all stable APIs
-rw-r--r-- | src/lib/ecore/efl_app.eo | 4 | ||||
-rw-r--r-- | src/lib/ecore/efl_loop_consumer.eo | 4 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_file.eo | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_file_save.eo | 2 | ||||
-rw-r--r-- | src/lib/elementary/efl_access_text.eo | 4 | ||||
-rw-r--r-- | src/lib/eo/efl_object.eo | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/ecore/efl_app.eo b/src/lib/ecore/efl_app.eo index 0e5d920659..f379e9a0ed 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 | version: ptr(const(Efl.Version)); [[Efl build version]] | 29 | version: const(Efl.Version) @by_ref; [[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 | version: ptr(const(Efl.Version)); [[Efl version]] | 39 | version: const(Efl.Version) @by_ref; [[Efl version]] |
40 | } | 40 | } |
41 | } | 41 | } |
42 | } | 42 | } |
diff --git a/src/lib/ecore/efl_loop_consumer.eo b/src/lib/ecore/efl_loop_consumer.eo index 56045787ee..35053265ea 100644 --- a/src/lib/ecore/efl_loop_consumer.eo +++ b/src/lib/ecore/efl_loop_consumer.eo | |||
@@ -51,8 +51,8 @@ abstract Efl.Loop_Consumer extends Efl.Object | |||
51 | promise_new @const { | 51 | promise_new @const { |
52 | [[Create a new promise with the scheduler coming from the loop provided by this object. | 52 | [[Create a new promise with the scheduler coming from the loop provided by this object. |
53 | 53 | ||
54 | Note: You should not use eina_promise_data_set as this function rely on controlling the promise data.]] | 54 | Note: You should not use eina_promise_data_set as this function rely on controlling the promise data.]] |
55 | return: ptr(Eina.Promise) @move; [[The new promise.]] | 55 | return: Eina.Promise @move @by_ref; [[The new promise.]] |
56 | } | 56 | } |
57 | } | 57 | } |
58 | implements { | 58 | implements { |
diff --git a/src/lib/efl/interfaces/efl_file.eo b/src/lib/efl/interfaces/efl_file.eo index 7d1ee49114..3227af49c0 100644 --- a/src/lib/efl/interfaces/efl_file.eo +++ b/src/lib/efl/interfaces/efl_file.eo | |||
@@ -23,7 +23,7 @@ mixin Efl.File requires Efl.Object { | |||
23 | ]] | 23 | ]] |
24 | } | 24 | } |
25 | values { | 25 | values { |
26 | f: ptr(const(Eina.File)); [[The handle to the @Eina.File that will be used]] | 26 | f: const(Eina.File) @by_ref; [[The handle to the @Eina.File that will be used]] |
27 | } | 27 | } |
28 | } | 28 | } |
29 | @property file { | 29 | @property file { |
diff --git a/src/lib/efl/interfaces/efl_file_save.eo b/src/lib/efl/interfaces/efl_file_save.eo index 5f8274dd54..2340de9c77 100644 --- a/src/lib/efl/interfaces/efl_file_save.eo +++ b/src/lib/efl/interfaces/efl_file_save.eo | |||
@@ -35,7 +35,7 @@ interface Efl.File_Save { | |||
35 | obligatory).]] | 35 | obligatory).]] |
36 | @in key: string; [[The image key in the file (if an Eet one), or $null, | 36 | @in key: string; [[The image key in the file (if an Eet one), or $null, |
37 | otherwise.]] | 37 | otherwise.]] |
38 | @in info: const(ptr(Efl.File_Save_Info)); [[The flags to be used ($null for defaults).]] | 38 | @in info: const(Efl.File_Save_Info) @by_ref; [[The flags to be used ($null for defaults).]] |
39 | } | 39 | } |
40 | return: bool; [[$true on success, $false otherwise]] | 40 | return: bool; [[$true on success, $false otherwise]] |
41 | } | 41 | } |
diff --git a/src/lib/elementary/efl_access_text.eo b/src/lib/elementary/efl_access_text.eo index 4deb7ecb14..8e0d0ee1a7 100644 --- a/src/lib/elementary/efl_access_text.eo +++ b/src/lib/elementary/efl_access_text.eo | |||
@@ -19,14 +19,14 @@ enum @beta Efl.Access.Text_Clip_Type | |||
19 | both [[Both clip types]] | 19 | both [[Both clip types]] |
20 | } | 20 | } |
21 | 21 | ||
22 | struct @free(elm_atspi_text_text_attribute_free) Efl.Access.Text_Attribute | 22 | struct @beta @free(elm_atspi_text_text_attribute_free) Efl.Access.Text_Attribute |
23 | { | 23 | { |
24 | [[Text attribute]] | 24 | [[Text attribute]] |
25 | name: string; [[Text attribute name]] | 25 | name: string; [[Text attribute name]] |
26 | value: string; [[Text attribute value]] | 26 | value: string; [[Text attribute value]] |
27 | } | 27 | } |
28 | 28 | ||
29 | struct @free(elm_atspi_text_text_range_free) Efl.Access.Text_Range | 29 | struct @beta @free(elm_atspi_text_text_range_free) Efl.Access.Text_Range |
30 | { | 30 | { |
31 | [[Text range]] | 31 | [[Text range]] |
32 | start_offset: int; [[Range start offset]] | 32 | start_offset: int; [[Range start offset]] |
diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo index 7a024bf01f..765bb6d6bd 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 | @in desc: ptr(const(Efl.Event_Description)); [[The description of the event to listen to]] | 333 | @in desc: const(Efl.Event_Description) @by_ref; [[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 | @in desc: ptr(const(Efl.Event_Description)); [[The description of the event to listen to]] | 345 | @in desc: const(Efl.Event_Description) @by_ref; [[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 | } |