[evolution-data-server] [CamelStreamMem] Fix transfer annotations and array element type



commit 2e955dc209c50351d2775b34b1e9ae47c1d9548a
Author: Corentin Noël <corentin elementary io>
Date:   Mon Feb 11 11:50:12 2019 +0100

    [CamelStreamMem] Fix transfer annotations and array element type

 src/camel/camel-stream-mem.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/camel/camel-stream-mem.c b/src/camel/camel-stream-mem.c
index e7c2e1d28..2d9dc3f6f 100644
--- a/src/camel/camel-stream-mem.c
+++ b/src/camel/camel-stream-mem.c
@@ -267,7 +267,7 @@ camel_stream_mem_new (void)
 
 /**
  * camel_stream_mem_new_with_buffer:
- * @buffer: (array length=len): a memory buffer to use as the stream data
+ * @buffer: (array length=len) (element-type guint8): a memory buffer to use as the stream data
  * @len: length of @buffer
  *
  * Create a new memory stream using @buffer as the stream data.
@@ -294,7 +294,7 @@ camel_stream_mem_new_with_buffer (const gchar *buffer,
 
 /**
  * camel_stream_mem_new_with_byte_array:
- * @buffer: a #GByteArray to use as the stream data
+ * @buffer: (transfer full): a #GByteArray to use as the stream data
  *
  * Create a new #CamelStreamMem using @buffer as the stream data.
  *
@@ -357,7 +357,7 @@ camel_stream_mem_get_byte_array (CamelStreamMem *mem)
 /**
  * camel_stream_mem_set_byte_array:
  * @mem: a #CamelStreamMem object
- * @buffer: a #GByteArray
+ * @buffer: (transfer full): a #GByteArray
  *
  * Set @buffer to be the backing data to the existing #CamelStreamMem, @mem.
  *


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