[libsoup] soup-uri.c: Add (allow-none) to soup_uri_normalize



commit ba3c50eb25fd438ed4ff92dbb5df1b582d960625
Author: Jens Georg <mail jensge org>
Date:   Wed Sep 9 14:08:43 2015 +0200

    soup-uri.c: Add (allow-none) to soup_uri_normalize
    
    Align annotation with documentation which says NULL is fine for the
    second parameter.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754776

 libsoup/soup-uri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index b16927d..83a8104 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -861,7 +861,7 @@ uri_normalized_copy (const char *part, int length,
 /**
  * soup_uri_normalize:
  * @part: a URI part
- * @unescape_extra: reserved characters to unescape (or %NULL)
+ * @unescape_extra: (allow-none): reserved characters to unescape (or %NULL)
  *
  * %<!-- -->-decodes any "unreserved" characters (or characters in
  * @unescape_extra) in @part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]