]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Set libxml2 method accepting nullable
authorDaniel Espinosa <daniel.espinosa@pwmc.mx>
Wed, 1 Mar 2017 16:47:54 +0000 (10:47 -0600)
committerDaniel Espinosa <daniel.espinosa@pwmc.mx>
Wed, 1 Mar 2017 16:47:54 +0000 (10:47 -0600)
vapi/libxml-2.0.vapi

index a4e62c87dbfd406d0116bf847b00c30cc7b0aefb..7d0c338020bed1fbb4e347eb3e5b374bb15f139b 100644 (file)
@@ -812,7 +812,7 @@ namespace Xml {
                public Attr* set_ns_prop (Ns* ns, [CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string value);
 
                [CCode (cname = "xmlSetProp")]
-               public Attr* set_prop ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string value);
+               public Attr* set_prop ([CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? value);
 
                [CCode (cname = "xmlSetTreeDoc")]
                public void set_tree_doc (Doc* doc);
@@ -1103,7 +1103,7 @@ namespace Xml {
                public int start_element ([CCode (type = "xmlChar*")] string name);
 
                [CCode (cname = "xmlTextWriterStartElementNS")]
-               public int start_element_ns ([CCode (type = "xmlChar*")] string prefix, [CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string namespaceURI);
+               public int start_element_ns ([CCode (type = "xmlChar*")] string prefix, [CCode (type = "xmlChar*")] string name, [CCode (type = "xmlChar*")] string? namespaceURI);
 
                [CCode (cname = "xmlTextWriterStartAttribute")]
                public int start_attribute ([CCode (type = "xmlChar*")] string name);