]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libxml-2.0: Fix header of XPath.Context.register_ns()
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 7 Oct 2017 10:53:12 +0000 (12:53 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 8 Oct 2017 14:08:29 +0000 (16:08 +0200)
vapi/libxml-2.0.vapi

index 273b0a542d66a81cd726d3e642bc57585d6fed26..12a2d78de9cdab7386a8b179fd4a8537de35d4a0 100644 (file)
@@ -1554,7 +1554,7 @@ namespace Xml {
                        [CCode (cname = "xmlXPathEvalExpression", instance_pos = -1)]
                        public Object* eval_expression ([CCode (type = "xmlChar*")] string str);
 
-                       [CCode (cname = "xmlXPathRegisterNs")]
+                       [CCode (cname = "xmlXPathRegisterNs", cheader_filename = "libxml/xpathInternals.h")]
                        public int register_ns ([CCode (type = "xmlChar*")] string prefix, [CCode (type = "xmlChar*")] string ns_uri);
 
                        [CCode (cname = "xmlXPathNewContext")]