summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:25:15 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:25:15 +0200
commitd0fed247bbb18933b3d5c086126ac0f7b8d05e76 (patch)
tree875995d0b38022dcad4fac08a4d454254a6648bc /src/lib/ecore_con
parent38d7d33354ce4d13d70f707498c267b120bf2e5a (diff)
eolian: remove param @nonull
This has been deprecated for a while and is not strictly necessary - as a part of an effort to stabilize Eolian, remove this. Eolian will eventually gain support for versioning and use a reversed behavior (i.e. no NULL by default), but the API it wlll use for that will be very different. Features can always be added, it's much harder to drop them. @feature
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_dialer.eo2
-rw-r--r--src/lib/ecore_con/efl_net_ip_address.eo8
-rw-r--r--src/lib/ecore_con/efl_net_server.eo2
-rw-r--r--src/lib/ecore_con/efl_net_server_udp.eo4
-rw-r--r--src/lib/ecore_con/efl_net_socket_udp.eo6
5 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/ecore_con/efl_net_dialer.eo b/src/lib/ecore_con/efl_net_dialer.eo
index fce38973f7..47685e1434 100644
--- a/src/lib/ecore_con/efl_net_dialer.eo
+++ b/src/lib/ecore_con/efl_net_dialer.eo
@@ -29,7 +29,7 @@ interface @beta Efl.Net.Dialer extends Efl.Net.Socket {
29 dispatched. 29 dispatched.
30 ]] 30 ]]
31 params { 31 params {
32 address: string @nonull; [[Remote address]] 32 address: string; [[Remote address]]
33 } 33 }
34 return: Eina.Error; [[0 on success, error code otherwise]] 34 return: Eina.Error; [[0 on success, error code otherwise]]
35 } 35 }
diff --git a/src/lib/ecore_con/efl_net_ip_address.eo b/src/lib/ecore_con/efl_net_ip_address.eo
index 8e0370a201..effdf47274 100644
--- a/src/lib/ecore_con/efl_net_ip_address.eo
+++ b/src/lib/ecore_con/efl_net_ip_address.eo
@@ -59,7 +59,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
59 use @.create. To create from a string use @.parse. 59 use @.create. To create from a string use @.parse.
60 ]] 60 ]]
61 params { 61 params {
62 sockaddr: const(void_ptr) @nonull; [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]] 62 sockaddr: const(void_ptr); [[The pointer to struct sockaddr-compatible handle as per <netinet/in.h>.]]
63 } 63 }
64 return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameter was invalid.]] 64 return: Efl.Net.Ip_Address @owned; [[Newly created object or $NULL if parameter was invalid.]]
65 } 65 }
@@ -104,7 +104,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
104 and port. 104 and port.
105 ]] 105 ]]
106 params { 106 params {
107 address: string @nonull; [[The address, such as enlightenment.org:http or enlightenment.org (port=0)]] 107 address: string; [[The address, such as enlightenment.org:http or enlightenment.org (port=0)]]
108 family: int @optional; [[Preferred family. AF_UNSPEC or 0 for both, otherwise one of AF_INET or AF_INET6]] 108 family: int @optional; [[Preferred family. AF_UNSPEC or 0 for both, otherwise one of AF_INET or AF_INET6]]
109 flags: int @optional; [[Flags to use with getaddrinfo(). If 0, default flags are used (AI_V4MAPPED | AI_ADDRCONFIG, if these exist in your system).]] 109 flags: int @optional; [[Flags to use with getaddrinfo(). If 0, default flags are used (AI_V4MAPPED | AI_ADDRCONFIG, if these exist in your system).]]
110 } 110 }
@@ -123,7 +123,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
123 ]] 123 ]]
124 get { } 124 get { }
125 values { 125 values {
126 str: string @nonull; [[Numeric address as string]] 126 str: string; [[Numeric address as string]]
127 } 127 }
128 } 128 }
129 129
@@ -167,7 +167,7 @@ class @beta Efl.Net.Ip_Address extends Efl.Object {
167 May only be set once. Afterwards the object does not change. 167 May only be set once. Afterwards the object does not change.
168 ]] 168 ]]
169 values { 169 values {
170 sockaddr: const(void_ptr) @nonull; [[Sockaddr struct. As usual with struct sockaddr, the first field, struct sockaddr::sa_family, defines the rest of the structure and how the whole structure must be interpreted. If AF_INET is struct sockaddr_in, AF_INET6 is struct sockaddr_in6.]] 170 sockaddr: const(void_ptr); [[Sockaddr struct. As usual with struct sockaddr, the first field, struct sockaddr::sa_family, defines the rest of the structure and how the whole structure must be interpreted. If AF_INET is struct sockaddr_in, AF_INET6 is struct sockaddr_in6.]]
171 } 171 }
172 } 172 }
173 173
diff --git a/src/lib/ecore_con/efl_net_server.eo b/src/lib/ecore_con/efl_net_server.eo
index 72b0bb25d9..8241bf6822 100644
--- a/src/lib/ecore_con/efl_net_server.eo
+++ b/src/lib/ecore_con/efl_net_server.eo
@@ -43,7 +43,7 @@ interface @beta Efl.Net.Server {
43 dispatched. 43 dispatched.
44 ]] 44 ]]
45 params { 45 params {
46 address: string @nonull; [[Address to run server on]] 46 address: string; [[Address to run server on]]
47 } 47 }
48 return: Eina.Error; [[$0 on success, error code otherwise]] 48 return: Eina.Error; [[$0 on success, error code otherwise]]
49 } 49 }
diff --git a/src/lib/ecore_con/efl_net_server_udp.eo b/src/lib/ecore_con/efl_net_server_udp.eo
index 3532a7bcb7..edb9471696 100644
--- a/src/lib/ecore_con/efl_net_server_udp.eo
+++ b/src/lib/ecore_con/efl_net_server_udp.eo
@@ -36,7 +36,7 @@ class @beta Efl.Net.Server_Udp extends Efl.Net.Server_Ip {
36 ff02::1@1 - use loopback interface (idx=1) 36 ff02::1@1 - use loopback interface (idx=1)
37 ]] 37 ]]
38 params { 38 params {
39 address: string @nonull; [[Multicast group address]] 39 address: string; [[Multicast group address]]
40 } 40 }
41 return: Eina.Error; [[0 on success, error code otherwise]] 41 return: Eina.Error; [[0 on success, error code otherwise]]
42 } 42 }
@@ -47,7 +47,7 @@ class @beta Efl.Net.Server_Udp extends Efl.Net.Server_Ip {
47 This reverses the effect of @.multicast_join. 47 This reverses the effect of @.multicast_join.
48 ]] 48 ]]
49 params { 49 params {
50 address: string @nonull; [[Multicast group address]] 50 address: string; [[Multicast group address]]
51 } 51 }
52 return: Eina.Error; [[0 on success, error code otherwise]] 52 return: Eina.Error; [[0 on success, error code otherwise]]
53 } 53 }
diff --git a/src/lib/ecore_con/efl_net_socket_udp.eo b/src/lib/ecore_con/efl_net_socket_udp.eo
index 2e5ed25350..561473b478 100644
--- a/src/lib/ecore_con/efl_net_socket_udp.eo
+++ b/src/lib/ecore_con/efl_net_socket_udp.eo
@@ -87,7 +87,7 @@ class @beta Efl.Net.Socket_Udp extends Efl.Net.Socket_Fd {
87 ff02::1@1 - use loopback interface (idx=1) 87 ff02::1@1 - use loopback interface (idx=1)
88 ]] 88 ]]
89 params { 89 params {
90 address: string @nonull; [[Multicast address to join]] 90 address: string; [[Multicast address to join]]
91 } 91 }
92 return: Eina.Error; [[$0 on success, error code otherwise]] 92 return: Eina.Error; [[$0 on success, error code otherwise]]
93 } 93 }
@@ -98,7 +98,7 @@ class @beta Efl.Net.Socket_Udp extends Efl.Net.Socket_Fd {
98 This reverses the effect of @.multicast_join. 98 This reverses the effect of @.multicast_join.
99 ]] 99 ]]
100 params { 100 params {
101 address: string @nonull; [[Multicast address to leave]] 101 address: string; [[Multicast address to leave]]
102 } 102 }
103 return: Eina.Error; [[$0 on success, error code otherwise]] 103 return: Eina.Error; [[$0 on success, error code otherwise]]
104 } 104 }
@@ -159,7 +159,7 @@ class @beta Efl.Net.Socket_Udp extends Efl.Net.Socket_Fd {
159 return: Eina.Error; [[$0 on success, error code otherwise]] 159 return: Eina.Error; [[$0 on success, error code otherwise]]
160 } 160 }
161 values { 161 values {
162 address: string @nonull; [[Address to bind to]] 162 address: string; [[Address to bind to]]
163 } 163 }
164 } 164 }
165 165