[vala] libxml-2.0: Add xmlNewNs binding



commit caf8fc3f51c8e021aa95d303fa59e479f511c128
Author: Eric Alber <eric alber gmail com>
Date:   Tue Sep 15 22:00:57 2009 +0200

    libxml-2.0: Add xmlNewNs binding
    
    Fixes bug 593854.

 vapi/libxml-2.0.vapi |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index 5665b50..f0dfc98 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]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]