[glib/carlosgc/uri-host-nullable] guri: Mark g_uri_get_host as nullable
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/carlosgc/uri-host-nullable] guri: Mark g_uri_get_host as nullable
- Date: Wed, 3 Feb 2021 09:00:18 +0000 (UTC)
commit c1921ffbef6930cef6ab213fb6958060f8e37eea
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Wed Feb 3 09:55:54 2021 +0100
guri: Mark g_uri_get_host as nullable
It's currently annotated as not nullable, but it can be NULL.
glib/guri.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/guri.c b/glib/guri.c
index 571cf10aa..a57c670ac 100644
--- a/glib/guri.c
+++ b/glib/guri.c
@@ -2440,7 +2440,7 @@ g_uri_get_auth_params (GUri *uri)
* be a scope ID attached to the address. Eg, `fe80::1234%``em1` (or
* `fe80::1234%``25em1` if the string is still encoded).
*
- * Return value: (not nullable): @uri's host.
+ * Return value: (nullable): @uri's host.
*
* Since: 2.66
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]