[libsoup] soup-message-headers.p: add some annotations
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] soup-message-headers.p: add some annotations
- Date: Tue, 13 Aug 2019 12:59:02 +0000 (UTC)
commit f28619281e71502d6288634a63ebc2387fa0f6b6
Author: Дилян Палаузов <git-dpa aegee org>
Date: Tue Jul 30 11:08:42 2019 +0000
soup-message-headers.p: add some annotations
libsoup/soup-message-headers.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
index 7522702a..cdd4f1cf 100644
--- a/libsoup/soup-message-headers.c
+++ b/libsoup/soup-message-headers.c
@@ -308,7 +308,7 @@ soup_message_headers_remove (SoupMessageHeaders *hdrs, const char *name)
/**
* soup_message_headers_get_one:
* @hdrs: a #SoupMessageHeaders
- * @name: header name
+ * @name: (in): header name
*
* Gets the value of header @name in @hdrs. Use this for headers whose
* values are <emphasis>not</emphasis> comma-delimited lists, and
@@ -320,7 +320,7 @@ soup_message_headers_remove (SoupMessageHeaders *hdrs, const char *name)
* whichever one makes libsoup most compatible with other HTTP
* implementations.)
*
- * Return value: (nullable): the header's value or %NULL if not found.
+ * Return value: (nullable) (transfer none): the header's value or %NULL if not found.
*
* Since: 2.28
**/
@@ -411,7 +411,7 @@ soup_message_headers_header_equals (SoupMessageHeaders *hdrs, const char *name,
* transformation is allowed, and so an upstream proxy could do the
* same thing.
*
- * Return value: (nullable): the header's value or %NULL if not found.
+ * Return value: (nullable) (transfer none): the header's value or %NULL if not found.
*
* Since: 2.28
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]