[vala/0.16] libxml-2.0: add SaveCtxt bindings
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.16] libxml-2.0: add SaveCtxt bindings
- Date: Sat, 23 Jun 2012 15:53:05 +0000 (UTC)
commit 7d632a6eaf0339054c83bc0b4641790a82cda346
Author: Richard Schwarting <aquarichy gmail com>
Date: Sat Jun 2 15:26:35 2012 -0700
libxml-2.0: add SaveCtxt bindings
Partially fixes bug 677355.
vapi/libxml-2.0.vapi | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index 6f88301..7aaa348 100644
--- a/vapi/libxml-2.0.vapi
+++ b/vapi/libxml-2.0.vapi
@@ -952,6 +952,24 @@ namespace Xml {
public class SchemaValidCtxt {
}
+ /* xmlsave */
+
+ [Compact]
+ [CCode (cname = "xmlSaveCtxt", free_function = "xmlSaveClose", cheader_filename = "libxml/xmlsave.h")]
+ public class SaveCtxt {
+ [CCode (cname = "xmlSaveToIO")]
+ public SaveCtxt.to_io (OutputWriteCallback iowrite, OutputCloseCallback ioclose, void * ioctx = null, string? encoding = null, int options = 0);
+
+ [CCode (cname = "xmlSaveClose")]
+ public int close ();
+ [CCode (cname = "xmlSaveFlush")]
+ public int flush ();
+ [CCode (cname = "xmlSaveDoc")]
+ public int save_doc (Xml.Doc *doc);
+ [CCode (cname = "xmlSaveTree")]
+ public int save_tree (Xml.Node *node);
+ }
+
/* xmlwriter - the XMLWriter implementation */
[Compact]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]