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