[vala/0.36] gio-2.0: "address" parameter of Socket.receive_message() is optional



commit 91d87eb50b872393249fb3a1ce4ba41ce36d4e2c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Oct 6 09:18:27 2017 +0200

    gio-2.0: "address" parameter of Socket.receive_message() is optional

 vapi/gio-2.0.vapi              |    2 +-
 vapi/metadata/Gio-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index d4b0423..eb851ae 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2450,7 +2450,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")]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 84d660d..ac832e8 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -399,6 +399,7 @@ FileAttributeInfoList
 LoadableIcon
   .load_finish.type out nullable unowned=false default=null
 Socket
+  .receive_message.address nullable
   .receive_message.messages out unowned=false
   .receive_message.flags ref
 Task


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]