[glib: 1/2] Fix annotation of count arguments
- From: Sebastian Dröge <sdroege src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] Fix annotation of count arguments
- Date: Thu, 8 Apr 2021 06:56:31 +0000 (UTC)
commit 56d5d9eda6fc8c2c1d6e24b2811909a69cd6e6b3
Author: demotomohiro <gpuppur gmail com>
Date: Wed Apr 7 04:13:26 2021 +0900
Fix annotation of count arguments
gio/ginputstream.c | 8 ++++----
gio/gpollableinputstream.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gio/ginputstream.c b/gio/ginputstream.c
index 383495162..9330169dc 100644
--- a/gio/ginputstream.c
+++ b/gio/ginputstream.c
@@ -129,7 +129,7 @@ g_input_stream_init (GInputStream *stream)
* @stream: a #GInputStream.
* @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 that will be read from the stream
+ * @count: (in): the number of bytes that will be read from the stream
* @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
* @error: location to store the error occurring, or %NULL to ignore
*
@@ -210,7 +210,7 @@ g_input_stream_read (GInputStream *stream,
* @stream: a #GInputStream.
* @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 that will be read from the stream
+ * @count: (in): the number of bytes that will be read from the stream
* @bytes_read: (out): location to store the number of bytes that was read from the stream
* @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
* @error: location to store the error occurring, or %NULL to ignore
@@ -581,7 +581,7 @@ async_ready_close_callback_wrapper (GObject *source_object,
* @stream: A #GInputStream.
* @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 that will be read from the stream
+ * @count: (in): the number of bytes that will be read from the stream
* @io_priority: the [I/O priority][io-priority]
* of the request.
* @cancellable: (nullable): optional #GCancellable object, %NULL to ignore.
@@ -773,7 +773,7 @@ read_all_async_thread (GTask *task,
* @stream: A #GInputStream
* @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 that will be read from the stream
+ * @count: (in): the number of bytes that will be read from the stream
* @io_priority: the [I/O priority][io-priority] of the request
* @cancellable: (nullable): optional #GCancellable object, %NULL to ignore
* @callback: (scope async): callback to call when the request is satisfied
diff --git a/gio/gpollableinputstream.c b/gio/gpollableinputstream.c
index 218f742f3..d04019339 100644
--- a/gio/gpollableinputstream.c
+++ b/gio/gpollableinputstream.c
@@ -161,7 +161,7 @@ g_pollable_input_stream_default_read_nonblocking (GPollableInputStream *stream,
* @stream: a #GPollableInputStream
* @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
+ * @count: (in): the number of bytes you want to read
* @cancellable: (nullable): a #GCancellable, or %NULL
* @error: #GError for error reporting, or %NULL to ignore.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]