summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2015-11-23 11:16:29 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2016-02-02 10:15:04 +0100
commitd268d9f86ad39328a20567ffa8b6e1cc7e1d0205 (patch)
treea8c222f10dcf259f2c3e275dba829d6785aeac0d
parentec173eb654cf054198dd4b21d87f1c750e5c3c98 (diff)
downloadglib-d268d9f86ad39328a20567ffa8b6e1cc7e1d0205.tar.gz
socket: Fix annotation of g_socket_receive_message
https://bugzilla.gnome.org/show_bug.cgi?id=761337
-rw-r--r--gio/gsocket.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gio/gsocket.c b/gio/gsocket.c
index af080400d..e7f210139 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -5220,16 +5220,16 @@ g_socket_receive_messages_with_timeout (GSocket *socket,
/**
* g_socket_receive_message:
* @socket: a #GSocket
- * @address: (out) (allow-none): a pointer to a #GSocketAddress
+ * @address: (out) (nullable): a pointer to a #GSocketAddress
* pointer, or %NULL
* @vectors: (array length=num_vectors): an array of #GInputVector structs
* @num_vectors: the number of elements in @vectors, or -1
- * @messages: (array length=num_messages) (allow-none): a pointer which
+ * @messages: (array length=num_messages) (out) (nullable): a pointer which
* may be filled with an array of #GSocketControlMessages, or %NULL
- * @num_messages: a pointer which will be filled with the number of
+ * @num_messages: (out): a pointer which will be filled with the number of
* elements in @messages, or %NULL
- * @flags: a pointer to an int containing #GSocketMsgFlags flags
- * @cancellable: (allow-none): a %GCancellable or %NULL
+ * @flags: (inout): a pointer to an int containing #GSocketMsgFlags flags
+ * @cancellable: a %GCancellable or %NULL
* @error: a #GError pointer, or %NULL
*
* Receive data from a socket. For receiving multiple messages, see