[glib/carlosgc/uri-host-nullable] guri: Mark g_uri_get_host as nullable




commit 5221b6a2612697751fd86467b0fbe7abc70b601d
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]