summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:41:22 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:41:22 +0200
commit13ddc5dbc165f3fead4a70301073bc901dbc1269 (patch)
tree2d4022f6bf3ffcf332efae28aae436e9b9a6f678 /src/lib/ecore_con
parentd0fed247bbb18933b3d5c086126ac0f7b8d05e76 (diff)
eolian: rename @warn_unused and its associated API
@warn_unused in syntax is now called @no_unused - this is because "warning about unused" is a C thing (or rather, an extension to C) and various languages might want to use stricter behavior for this. Its associated API does the reverse now - it lets you query whether being unused is allowed at all. This is to match future behavior of Eolian (once it supports versioning) that will likely reverse it. @feature
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_dialer_http.eo8
-rw-r--r--src/lib/ecore_con/efl_net_dialer_websocket.eo6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer_http.eo b/src/lib/ecore_con/efl_net_dialer_http.eo
index f5a6fac..3b7c9b2 100644
--- a/src/lib/ecore_con/efl_net_dialer_http.eo
+++ b/src/lib/ecore_con/efl_net_dialer_http.eo
@@ -187,7 +187,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
187 187
188 request_headers_get { 188 request_headers_get {
189 [[Returns an iterator to the key-value pairs for request headers]] 189 [[Returns an iterator to the key-value pairs for request headers]]
190 return: iterator<ptr(Efl.Net.Http.Header)> @owned @warn_unused; [[Iterator for request headers]] 190 return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator for request headers]]
191 } 191 }
192 192
193 @property request_content_length { 193 @property request_content_length {
@@ -250,7 +250,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
250 250
251 This will be usable after the "headers,done" event is dispatched. 251 This will be usable after the "headers,done" event is dispatched.
252 ]] 252 ]]
253 return: iterator<ptr(Efl.Net.Http.Header)> @owned @warn_unused; [[Iterator for response headers]] 253 return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator for response headers]]
254 } 254 }
255 255
256 response_headers_all_get { 256 response_headers_all_get {
@@ -275,7 +275,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
275 275
276 This will be usable after the "headers,done" event is dispatched. 276 This will be usable after the "headers,done" event is dispatched.
277 ]] 277 ]]
278 return: iterator<ptr(Efl.Net.Http.Header)> @owned @warn_unused; [[Iterator for all response headers]] 278 return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator for all response headers]]
279 } 279 }
280 280
281 response_headers_clear { 281 response_headers_clear {
@@ -381,7 +381,7 @@ class @beta Efl.Net.Dialer_Http extends Efl.Loop_Consumer implements Efl.Net.Dia
381 params { 381 params {
382 epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]] 382 epochtime: int64; [[UNIX Epoch time - seconds since 1/1/1970]]
383 } 383 }
384 return: mstring @owned @warn_unused; [[Newly allocated null-terminated string on success or NULL on errors]] 384 return: mstring @owned @no_unused; [[Newly allocated null-terminated string on success or NULL on errors]]
385 } 385 }
386 } 386 }
387 387
diff --git a/src/lib/ecore_con/efl_net_dialer_websocket.eo b/src/lib/ecore_con/efl_net_dialer_websocket.eo
index 262ad75..904eacf 100644
--- a/src/lib/ecore_con/efl_net_dialer_websocket.eo
+++ b/src/lib/ecore_con/efl_net_dialer_websocket.eo
@@ -144,7 +144,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne
144 144
145 request_protocols_get { 145 request_protocols_get {
146 [[Returns an iterator to the requested WebSocket protocols]] 146 [[Returns an iterator to the requested WebSocket protocols]]
147 return: iterator<string> @owned @warn_unused; [[Iterator to protocols]] 147 return: iterator<string> @owned @no_unused; [[Iterator to protocols]]
148 } 148 }
149 149
150 request_protocols_clear { 150 request_protocols_clear {
@@ -153,7 +153,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne
153 153
154 response_protocols_get { 154 response_protocols_get {
155 [[Returns an iterator to the server-replied (response) WebSocket protocols it supports]] 155 [[Returns an iterator to the server-replied (response) WebSocket protocols it supports]]
156 return: iterator<string> @owned @warn_unused; [[Iterator to server protocols]] 156 return: iterator<string> @owned @no_unused; [[Iterator to server protocols]]
157 } 157 }
158 158
159 @property streaming_mode { 159 @property streaming_mode {
@@ -260,7 +260,7 @@ class @beta Efl.Net.Dialer_Websocket extends Efl.Loop_Consumer implements Efl.Ne
260 260
261 request_headers_get { 261 request_headers_get {
262 [[Returns an iterator to the key-value pairs for request headers]] 262 [[Returns an iterator to the key-value pairs for request headers]]
263 return: iterator<ptr(Efl.Net.Http.Header)> @owned @warn_unused; [[Iterator to key value pairs]] 263 return: iterator<ptr(Efl.Net.Http.Header)> @owned @no_unused; [[Iterator to key value pairs]]
264 } 264 }
265 265
266 @property cookie_jar { 266 @property cookie_jar {