[libsoup/libsoup-3-0] gir: Mark returns as nullable
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/libsoup-3-0] gir: Mark returns as nullable
- Date: Thu, 30 Jun 2022 08:29:04 +0000 (UTC)
commit 2c54a10c433bc6ac0e37e43f87fda9175a0ab3e0
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Sat Feb 5 23:16:21 2022 +0100
gir: Mark returns as nullable
libsoup/server/soup-server-message.c | 2 +-
libsoup/soup-message.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/server/soup-server-message.c b/libsoup/server/soup-server-message.c
index 641942ec..8250fd26 100644
--- a/libsoup/server/soup-server-message.c
+++ b/libsoup/server/soup-server-message.c
@@ -682,7 +682,7 @@ soup_server_message_set_http_version (SoupServerMessage *msg,
*
* Get the HTTP reason phrase of @msg or %NULL.
*
- * Returns: the reason phrase.
+ * Returns: (nullable): the reason phrase.
*/
const char *
soup_server_message_get_reason_phrase (SoupServerMessage *msg)
diff --git a/libsoup/soup-message.c b/libsoup/soup-message.c
index 2f5b2670..73671819 100644
--- a/libsoup/soup-message.c
+++ b/libsoup/soup-message.c
@@ -2851,7 +2851,7 @@ soup_message_get_status (SoupMessage *msg)
*
* Returns the reason phrase for the status of this message.
*
- * Returns: Phrase or %NULL
+ * Returns: (nullable): the phrase
*/
const char *
soup_message_get_reason_phrase (SoupMessage *msg)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]