[vala] libxml-2.0: add SaveCtxt bindings
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libxml-2.0: add SaveCtxt bindings
- Date: Sat, 2 Jun 2012 22:31:47 +0000 (UTC)
commit 8ee814c94cf914a9eaef4ea4212110d1d6adc20c
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]