[vala/staging] gio-2.0: Revert enum-typed flags parameters in Socket API
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] gio-2.0: Revert enum-typed flags parameters in Socket API
- Date: Mon, 25 Mar 2019 09:22:19 +0000 (UTC)
commit 409136afc5ec8f80912b1d208e4903987bfc87f9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Mar 25 10:15:21 2019 +0100
gio-2.0: Revert enum-typed flags parameters in Socket API
See https://gitlab.gnome.org/GNOME/glib/merge_requests/728
vapi/gio-2.0.vapi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 8a8879a67..08cf0b668 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2512,17 +2512,17 @@ 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 GLib.SocketMsgFlags
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, GLib.SocketMsgFlags flags, GLib.Cancellable?
cancellable = null) throws GLib.Error;
+ 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")]
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, GLib.SocketMsgFlags flags,
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;
[Version (since = "2.60")]
- public GLib.PollableReturn send_message_with_timeout (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,
GLib.SocketMsgFlags flags, int64 timeout_us, out size_t bytes_written, GLib.Cancellable? cancellable = null)
throws GLib.Error;
+ public GLib.PollableReturn send_message_with_timeout (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, int64 timeout_us, out size_t bytes_written, GLib.Cancellable? cancellable = null) throws GLib.Error;
[Version (since = "2.44")]
- public int send_messages ([CCode (array_length_cname = "num_messages", array_length_pos =
1.5, array_length_type = "guint")] GLib.OutputMessage[] messages, GLib.SocketMsgFlags flags,
GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public int send_messages ([CCode (array_length_cname = "num_messages", array_length_pos =
1.5, array_length_type = "guint")] GLib.OutputMessage[] messages, int flags, GLib.Cancellable? cancellable =
null) throws GLib.Error;
public ssize_t send_to (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;
[Version (since = "2.26")]
public ssize_t send_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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]