summaryrefslogtreecommitdiff
path: root/libsoup/soup-message-body.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-12-27 21:13:34 -0500
committerDan Winship <danw@gnome.org>2012-12-27 21:13:34 -0500
commit0aeb67d4934d2748002349669caeffe481dd5a11 (patch)
tree39139bea35c1267d02e85006395892464105e45b /libsoup/soup-message-body.c
parentfb30256920503cc5e4dc33210921a2ee2a9ff7c8 (diff)
downloadlibsoup-0aeb67d4934d2748002349669caeffe481dd5a11.tar.gz
docs: Lots of minor fixes and additions
Diffstat (limited to 'libsoup/soup-message-body.c')
-rw-r--r--libsoup/soup-message-body.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsoup/soup-message-body.c b/libsoup/soup-message-body.c
index c541887f..dfc29fae 100644
--- a/libsoup/soup-message-body.c
+++ b/libsoup/soup-message-body.c
@@ -313,6 +313,10 @@ soup_buffer_free (SoupBuffer *buffer)
* soup_buffer_get_as_bytes:
* @buffer: a #SoupBuffer
*
+ * Creates a #GBytes pointing to the same memory as @buffer. The
+ * #GBytes will hold a reference on @buffer to ensure that it is not
+ * freed while the #GBytes is still valid.
+ *
* Returns: (transfer full): a new #GBytes which has the same content
* as the #SoupBuffer.
*