summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorEric Alber <eric.alber@gmail.com>2009-09-15 22:00:57 +0200
committerJürg Billeter <j@bitron.ch>2009-09-15 22:00:57 +0200
commitcaf8fc3f51c8e021aa95d303fa59e479f511c128 (patch)
tree273be30a417545e6593df02fc11778e44cd341b0 /vapi
parentb49068723514310f41ec55f67c0653338e3b3e52 (diff)
downloadvala-caf8fc3f51c8e021aa95d303fa59e479f511c128.tar.gz
libxml-2.0: Add xmlNewNs binding
Fixes bug 593854.
Diffstat (limited to 'vapi')
-rw-r--r--vapi/libxml-2.0.vapi6
1 files changed, 4 insertions, 2 deletions
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]