diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2017-10-17 13:51:17 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-10-17 17:31:38 +0900 |
commit | b7ab2ac1edf3211ac8d3a399fcad4f3117e9964a (patch) | |
tree | 21c138b6ec29d56591d7b59d9f36797fb2c1ab9e /src/lib/eo/eina_types.eot | |
parent | 2866358a5dc4fcf30b10bea0fe4ed32c7ccdddb7 (diff) |
eo: Use any_value in eina_types.eot
Reviewers: q66, jpeg
Subscribers: jenkins, cedric
Differential Revision: https://phab.enlightenment.org/D5328
Diffstat (limited to 'src/lib/eo/eina_types.eot')
-rw-r--r-- | src/lib/eo/eina_types.eot | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eo/eina_types.eot b/src/lib/eo/eina_types.eot index 41b89215a4..d8b842bca7 100644 --- a/src/lib/eo/eina_types.eot +++ b/src/lib/eo/eina_types.eot | |||
@@ -97,13 +97,13 @@ struct @extern Eina.Future.Scheduler; [[This struct is used as a bridge between | |||
97 | 97 | ||
98 | function @extern Eina.Future.Cb { | 98 | function @extern Eina.Future.Cb { |
99 | params { | 99 | params { |
100 | value: const(generic_value); [[An Eina_Value which contains the operation result. Before using | 100 | value: const(any_value); [[An Eina_Value which contains the operation result. Before using |
101 | the value, its type must be checked in order to avoid errors. This is needed, because | 101 | the value, its type must be checked in order to avoid errors. This is needed, because |
102 | if an operation fails the Eina_Value type will be EINA_VALUE_TYPE_ERROR | 102 | if an operation fails the Eina_Value type will be EINA_VALUE_TYPE_ERROR |
103 | which is a different type than the expected operation result.]] | 103 | which is a different type than the expected operation result.]] |
104 | dead_ptr: const(ptr(Eina.Future)); [[A pointer to the future that was completed]] | 104 | dead_ptr: const(ptr(Eina.Future)); [[A pointer to the future that was completed]] |
105 | } | 105 | } |
106 | return: generic_value; [[An Eina_Value to pass to the next Eina_Future in the chain (if any). | 106 | return: any_value; [[An Eina_Value to pass to the next Eina_Future in the chain (if any). |
107 | If there is no need to convert the received value, it's recommended | 107 | If there is no need to convert the received value, it's recommended |
108 | to pass-thru value argument. If you need to convert to a different type | 108 | to pass-thru value argument. If you need to convert to a different type |
109 | or generate a new value, use eina_value_setup() on another Eina_Value | 109 | or generate a new value, use eina_value_setup() on another Eina_Value |
@@ -124,9 +124,9 @@ function @extern Eina.Promise.Cancel.Cb { | |||
124 | 124 | ||
125 | function @extern Eina.Future.Success.Cb { | 125 | function @extern Eina.Future.Success.Cb { |
126 | params { | 126 | params { |
127 | value: const(generic_value); [[The operation result]] | 127 | value: const(any_value); [[The operation result]] |
128 | } | 128 | } |
129 | return: generic_value; [[An Eina_Value to pass to the next Eina_Future in the chain (if any). | 129 | return: any_value; [[An Eina_Value to pass to the next Eina_Future in the chain (if any). |
130 | If there is no need to convert the received value, it's recommended | 130 | If there is no need to convert the received value, it's recommended |
131 | to pass-thru value argument. If you need to convert to a different type | 131 | to pass-thru value argument. If you need to convert to a different type |
132 | or generate a new value, use eina_value_setup() on another Eina_Value | 132 | or generate a new value, use eina_value_setup() on another Eina_Value |
@@ -143,7 +143,7 @@ function @extern Eina.Future.Error.Cb { | |||
143 | params { | 143 | params { |
144 | error: const(Eina.Error); [[The operation error]] | 144 | error: const(Eina.Error); [[The operation error]] |
145 | } | 145 | } |
146 | return: generic_value; [[An Eina_Value to pass to the next Eina_Future in the chain (if any). | 146 | return: any_value; [[An Eina_Value to pass to the next Eina_Future in the chain (if any). |
147 | If there is no need to convert the received value, it's recommended | 147 | If there is no need to convert the received value, it's recommended |
148 | to pass-thru value argument. If you need to convert to a different type | 148 | to pass-thru value argument. If you need to convert to a different type |
149 | or generate a new value, use eina_value_setup() on another Eina_Value | 149 | or generate a new value, use eina_value_setup() on another Eina_Value |