summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2023-04-14 15:55:38 +0000
committerPhilip Withnall <philip@tecnocode.co.uk>2023-04-14 15:55:38 +0000
commitf2f322005df25c5276843cc63744ba1accf4180d (patch)
treee5bac714a0671d35c08052eefaabed469ec8030d
parent3f390d5598c28e3a1a63af11bc136586b3072c6d (diff)
parenta89b72389ae71acb2a1b9e061a474ff01b37ab58 (diff)
downloadglib-f2f322005df25c5276843cc63744ba1accf4180d.tar.gz
Merge branch 'update-annotations' into 'main'
Explicitly mark size parameter as (in) See merge request GNOME/glib!3371
-rw-r--r--gio/gsocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gsocket.c b/gio/gsocket.c
index 22a8dd7ec..d25591a17 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -3317,7 +3317,7 @@ g_socket_receive_with_timeout (GSocket *socket,
* @socket: a #GSocket
* @buffer: (array length=size) (element-type guint8) (out caller-allocates):
* a buffer to read data into (which should be at least @size bytes long).
- * @size: the number of bytes you want to read from the socket
+ * @size: (in): the number of bytes you want to read from the socket
* @cancellable: (nullable): a %GCancellable or %NULL
* @error: #GError for error reporting, or %NULL to ignore.
*
@@ -3367,7 +3367,7 @@ g_socket_receive (GSocket *socket,
* @socket: a #GSocket
* @buffer: (array length=size) (element-type guint8) (out caller-allocates):
* a buffer to read data into (which should be at least @size bytes long).
- * @size: the number of bytes you want to read from the socket
+ * @size: (in): the number of bytes you want to read from the socket
* @blocking: whether to do blocking or non-blocking I/O
* @cancellable: (nullable): a %GCancellable or %NULL
* @error: #GError for error reporting, or %NULL to ignore.