[evolution-data-server] [Camel] Fix several annotations for message creation
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] [Camel] Fix several annotations for message creation
- Date: Mon, 11 Feb 2019 21:50:26 +0000 (UTC)
commit 27fa12d18c97d1cdaa08f1013c05a29ac0082eac
Author: Corentin Noël <corentin elementary io>
Date: Mon Feb 11 22:49:46 2019 +0100
[Camel] Fix several annotations for message creation
src/camel/camel-mime-parser.c | 2 +-
src/camel/camel-multipart.c | 2 +-
src/camel/camel-stream-mem.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/camel/camel-mime-parser.c b/src/camel/camel-mime-parser.c
index 5c892d426..adfb92604 100644
--- a/src/camel/camel-mime-parser.c
+++ b/src/camel/camel-mime-parser.c
@@ -701,7 +701,7 @@ camel_mime_parser_step (CamelMimeParser *parser,
/**
* camel_mime_parser_read:
* @parser: MIME parser object
- * @databuffer: (out) (array): The data buffer
+ * @databuffer: (out) (array) (element-type guint8): The data buffer
* @len: The length of data to read
* @error: return location for a #GError, or %NULL
*
diff --git a/src/camel/camel-multipart.c b/src/camel/camel-multipart.c
index e349bbd09..c59b8db15 100644
--- a/src/camel/camel-multipart.c
+++ b/src/camel/camel-multipart.c
@@ -518,7 +518,7 @@ camel_multipart_get_boundary (CamelMultipart *multipart)
/**
* camel_multipart_set_boundary:
* @multipart: a #CamelMultipart object
- * @boundary: the message boundary, or %NULL
+ * @boundary: (nullable): the message boundary, or %NULL
*
* Sets the message boundary for @multipart to @boundary. This should
* be a string which does not occur anywhere in any of @multipart's
diff --git a/src/camel/camel-stream-mem.c b/src/camel/camel-stream-mem.c
index 2d9dc3f6f..673e0f8c3 100644
--- a/src/camel/camel-stream-mem.c
+++ b/src/camel/camel-stream-mem.c
@@ -385,7 +385,7 @@ camel_stream_mem_set_byte_array (CamelStreamMem *mem,
/**
* camel_stream_mem_set_buffer:
* @mem: a #CamelStreamMem object
- * @buffer: (array length=len): a memory buffer
+ * @buffer: (array length=len) (element-type guint8): a memory buffer
* @len: length of @buffer
*
* 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]