From: Eric Alber Date: Tue, 15 Sep 2009 20:00:57 +0000 (+0200) Subject: libxml-2.0: Add xmlNewNs binding X-Git-Tag: 0.7.6~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caf8fc3f51c8e021aa95d303fa59e479f511c128;p=thirdparty%2Fvala.git libxml-2.0: Add xmlNewNs binding Fixes bug 593854. --- diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi index 5665b5055..f0dfc9813 100644 --- a/vapi/libxml-2.0.vapi +++ b/vapi/libxml-2.0.vapi @@ -719,11 +719,13 @@ namespace Xml { [Compact] [CCode (cname = "xmlNs", cheader_filename = "libxml/tree.h")] public class Ns { - public Ns next; + [CCode (cname = "xmlNewNs")] + public static Ns* create (Xml.Node* node, string href, string prefix); + public Ns* next; public ElementType type; public string href; public string prefix; - public Doc context; + public Doc* context; } [Compact]