mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
gpollableinputstream: Add missing annotation
The buffer for g_pollable_input_stream_read_nonblocking() is an out parameter which the caller must allocate. See https://gitlab.gnome.org/GNOME/gjs/-/issues/389
This commit is contained in:
parent
3653260ec2
commit
27b9d2cb27
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user