diff options
author | Richard Schwarting <aquarichy@gmail.com> | 2012-06-02 15:26:35 -0700 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2012-06-23 17:28:21 +0200 |
commit | 7d632a6eaf0339054c83bc0b4641790a82cda346 (patch) | |
tree | fb85bd7fc50a28e2b5a9d016b16a0c04d6730c99 | |
parent | 2167376e06bd089e1123781376320a0a0584eef0 (diff) | |
download | vala-7d632a6eaf0339054c83bc0b4641790a82cda346.tar.gz |
libxml-2.0: add SaveCtxt bindings
Partially fixes bug 677355.
-rw-r--r-- | 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 6f8830189..7aaa34881 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] |