[glib] ginputstream: Add missing (transfer full) annotation to read_bytes()



commit c19259526825a7eaf1a3faf64df1690e53a4b5cd
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Apr 13 10:24:32 2017 +0100

    ginputstream: Add missing (transfer full) annotation to read_bytes()

 gio/ginputstream.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/ginputstream.c b/gio/ginputstream.c
index 4e56d87..71bbb7b 100644
--- a/gio/ginputstream.c
+++ b/gio/ginputstream.c
@@ -306,7 +306,7 @@ g_input_stream_read_all (GInputStream  *stream,
  *
  * On error %NULL is returned and @error is set accordingly.
  *
- * Returns: a new #GBytes, or %NULL on error
+ * Returns: (transfer full): a new #GBytes, or %NULL on error
  *
  * Since: 2.34
  **/
@@ -939,7 +939,7 @@ g_input_stream_read_bytes_async (GInputStream          *stream,
  *
  * Finishes an asynchronous stream read-into-#GBytes operation.
  *
- * Returns: the newly-allocated #GBytes, or %NULL on error
+ * Returns: (transfer full): the newly-allocated #GBytes, or %NULL on error
  *
  * Since: 2.34
  **/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]