Merge branch 'fix-gsocket-receive-from-annotation' into 'main'

gsocket: Explicitly mark size parameter as (in)

See merge request GNOME/glib!3382
This commit is contained in:
Marco Trevisan 2023-04-19 19:19:41 +00:00
commit aa72638301

View File

@ -3400,7 +3400,7 @@ g_socket_receive_with_blocking (GSocket *socket,
* pointer, or %NULL
* @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.
*