]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix Socket.receive_message
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 23 Nov 2015 09:58:14 +0000 (10:58 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 31 Jan 2016 08:14:04 +0000 (09:14 +0100)
Fixes bug 749980.

(cherry picked from commit 328a328675e5d4b76111f72bb892fa32a03029d7)

vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 12c24f4fa69f1d2ec4690767d7468450c68b5c87..8a9dcdf5dca48b8a6c1ba76fdfc589bbc3e433d7 100644 (file)
@@ -2012,7 +2012,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)] GLib.SocketControlMessage[]? messages, 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;
                public ssize_t receive_with_blocking ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] buffer, bool blocking, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public ssize_t send ([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 send_message (GLib.SocketAddress? address, [CCode (array_length_cname = "num_vectors", array_length_pos = 2.5)] GLib.OutputVector[] vectors, [CCode (array_length_cname = "num_messages", array_length_pos = 3.5)] GLib.SocketControlMessage[]? messages, int flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
index c9cd9a6a6945c09cf83ef5d940f517346f6c6d27..f6b3c1ac65010491cf256981a854825974fca1e8 100644 (file)
@@ -377,6 +377,9 @@ FileAttributeInfoList
   .infos array array_length_field="n_infos" unowned=false
 LoadableIcon
   .load_finish.type out nullable unowned=false default=null
+Socket
+  .receive_message.messages out unowned=false
+  .receive_message.flags ref
 Task
   .get_source_object type="GLib.Object"
 TlsBackend