Merge branch 'gpollableinputstream-read-nonblocking-caller-allocates' into 'master'

gpollableinputstream: Add missing annotation

See merge request GNOME/glib!1998
This commit is contained in:
Sebastian Dröge 2021-03-19 07:39:38 +00:00
commit 2bf649320f

View File

@ -159,8 +159,8 @@ g_pollable_input_stream_default_read_nonblocking (GPollableInputStream *stream,
/**
* g_pollable_input_stream_read_nonblocking:
* @stream: a #GPollableInputStream
* @buffer: (array length=count) (element-type guint8): a buffer to
* read data into (which should be at least @count bytes long).
* @buffer: (array length=count) (element-type guint8) (out caller-allocates): a
* buffer to read data into (which should be at least @count bytes long).
* @count: the number of bytes you want to read
* @cancellable: (nullable): a #GCancellable, or %NULL
* @error: #GError for error reporting, or %NULL to ignore.