]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libxml-2.0: Add xmlNewNs binding
authorEric Alber <eric.alber@gmail.com>
Tue, 15 Sep 2009 20:00:57 +0000 (22:00 +0200)
committerJürg Billeter <j@bitron.ch>
Tue, 15 Sep 2009 20:00:57 +0000 (22:00 +0200)
Fixes bug 593854.

vapi/libxml-2.0.vapi

index 5665b50552919665ce37d22b540e2e78c69bb611..f0dfc98130011e066606420556e3606b4cabf896 100644 (file)
@@ -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]