summaryrefslogtreecommitdiff
path: root/libsoup/soup-message-body.c
diff options
context:
space:
mode:
authorEvan Nemerson <evan@nemerson.com>2014-05-12 00:46:01 -0700
committerDan Winship <danw@gnome.org>2014-11-23 09:39:54 -0500
commitb24ef29be4ccd9b051d75b15b290448b5490bc53 (patch)
treeca328093fd04b08f2cca667735aeb927a3b58549 /libsoup/soup-message-body.c
parent4957820fc0d5a4df6263bea3652ad9cfbdd3b4d1 (diff)
downloadlibsoup-b24ef29be4ccd9b051d75b15b290448b5490bc53.tar.gz
Add missing array annotations for binary data
https://bugzilla.gnome.org/show_bug.cgi?id=729987
Diffstat (limited to 'libsoup/soup-message-body.c')
-rw-r--r--libsoup/soup-message-body.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-message-body.c b/libsoup/soup-message-body.c
index 6a9f81ec..006ecea4 100644
--- a/libsoup/soup-message-body.c
+++ b/libsoup/soup-message-body.c
@@ -79,7 +79,7 @@ typedef struct {
/**
* soup_buffer_new:
* @use: how @data is to be used by the buffer
- * @data: data
+ * @data: (array length=length) (element-type guint8): data
* @length: length of @data
*
* Creates a new #SoupBuffer containing @length bytes from @data.
@@ -166,7 +166,7 @@ soup_buffer_new_subbuffer (SoupBuffer *parent, gsize offset, gsize length)
/**
* soup_buffer_new_with_owner:
- * @data: data
+ * @data: (array length=length) (element-type guint8): data
* @length: length of @data
* @owner: pointer to an object that owns @data
* @owner_dnotify: (allow-none): a function to free/unref @owner when