From: Daniel Espinosa Date: Wed, 1 Mar 2017 16:47:54 +0000 (-0600) Subject: Set libxml2 method accepting nullable X-Git-Tag: 0.35.7~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1afb5aad3eb718d7dd14c35d6b786a4bd2b7689;p=thirdparty%2Fvala.git Set libxml2 method accepting nullable --- diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi index a4e62c87d..7d0c33802 100644 --- a/vapi/libxml-2.0.vapi +++ b/vapi/libxml-2.0.vapi @@ -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);