]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libxml-2.0: xmlParseURI and xmlParseURIRaw return a nullable string
authorMarc-André Lureau <marcandre.lureau@gmail.com>
Fri, 18 Nov 2011 14:20:50 +0000 (15:20 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 14:02:19 +0000 (15:02 +0100)
Fixes bug 664334.

vapi/libxml-2.0.vapi

index d5fdf297b5c7b433ccb6808d1725f55c6b9bad21..6f8830189ea2c505184cdd039fc4ea9160c5a77f 100644 (file)
@@ -869,10 +869,10 @@ namespace Xml {
                public static int normalize_uri_path (string path);
 
                [CCode (cname = "xmlParseURI")]
-               public static URI parse (string str);
+               public static URI? parse (string str);
 
                [CCode (cname = "xmlParseURIRaw")]
-               public static URI parse_raw (string str, bool raw);
+               public static URI? parse_raw (string str, bool raw);
 
                [CCode (cname = "xmlParseURIReference")]
                public int parse_reference (string str);