summaryrefslogtreecommitdiff
path: root/vapi/gio-2.0.vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-05-04 22:41:31 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2017-05-04 22:41:31 +0200
commitabde183a0e42c3fe5dd71443592fb9a292c3350d (patch)
tree4a5804afc74e8d2d0e5de299eb1a5f37da87dd7b /vapi/gio-2.0.vapi
parent10c668de04c6e44a9919d6ca5a4976e81d9bbc32 (diff)
downloadvala-abde183a0e42c3fe5dd71443592fb9a292c3350d.tar.gz
vapi: Update GIR-based bindings
Diffstat (limited to 'vapi/gio-2.0.vapi')
-rw-r--r--vapi/gio-2.0.vapi10
1 files changed, 5 insertions, 5 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 2ac46b925..e1469759e 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2448,7 +2448,7 @@ namespace GLib {
public bool listen () throws GLib.Error;
public ssize_t receive ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
public ssize_t receive_from (out GLib.SocketAddress address, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] buffer, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public ssize_t receive_message (out GLib.SocketAddress address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.InputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] out GLib.SocketControlMessage[] messages, ref int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public ssize_t receive_message (out GLib.SocketAddress address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.InputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] out GLib.SocketControlMessage[]? messages, ref int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.48")]
public int receive_messages ([CCode (array_length_cname = "num_messages", array_length_pos = 1.5, array_length_type = "guint")] GLib.InputMessage[] messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.26")]
@@ -2619,10 +2619,10 @@ namespace GLib {
public class SocketListener : GLib.Object {
[CCode (has_construct_function = false)]
public SocketListener ();
- public GLib.SocketConnection accept (out unowned GLib.Object source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public async GLib.SocketConnection accept_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object source_object = null) throws GLib.Error;
- public GLib.Socket accept_socket (out unowned GLib.Object source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
- public async GLib.Socket accept_socket_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object source_object = null) throws GLib.Error;
+ public GLib.SocketConnection accept (out unowned GLib.Object? source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async GLib.SocketConnection accept_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object? source_object = null) throws GLib.Error;
+ public GLib.Socket accept_socket (out unowned GLib.Object? source_object = null, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public async GLib.Socket accept_socket_async (GLib.Cancellable? cancellable = null, out unowned GLib.Object? source_object = null) throws GLib.Error;
public bool add_address (GLib.SocketAddress address, GLib.SocketType type, GLib.SocketProtocol protocol, GLib.Object? source_object, out GLib.SocketAddress effective_address) throws GLib.Error;
[Version (since = "2.24")]
public uint16 add_any_inet_port (GLib.Object? source_object) throws GLib.Error;