[vala] libxml-2.0: xmlParseURI and xmlParseURIRaw return a nullable string



commit 16fa519730b7b0a4df65179e94b75678371fb361
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date:   Fri Nov 18 15:20:50 2011 +0100

    libxml-2.0: xmlParseURI and xmlParseURIRaw return a nullable string
    
    Fixes bug 664334.

 vapi/libxml-2.0.vapi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index d5fdf29..6f88301 100644
--- a/vapi/libxml-2.0.vapi
+++ b/vapi/libxml-2.0.vapi
@@ -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);



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