[vala] libxml-2.0: add Buffer
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libxml-2.0: add Buffer
- Date: Fri, 8 Feb 2013 09:00:02 +0000 (UTC)
commit 5fcabbfa135ae9528a6a5d463ab1eb1e04fac49e
Author: Richard Schwarting <aquarichy gmail com>
Date: Fri Feb 8 00:59:15 2013 -0800
libxml-2.0: add Buffer
Fixes bug 677355.
vapi/libxml-2.0.vapi | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index e0f5ef6..92b671c 100644
--- a/vapi/libxml-2.0.vapi
+++ b/vapi/libxml-2.0.vapi
@@ -336,6 +336,19 @@ namespace Xml {
}
[Compact]
+ [CCode (cname = "xmlBuffer", free_function = "xmlBufferFree", cheader_filename = "libxml/tree.h")]
+ public class Buffer {
+ [CCode (cname = "xmlBufferCreate")]
+ public Buffer ();
+
+ [CCode (cname = "xmlBufferContent")]
+ public unowned string content ();
+
+ [CCode (cname = "xmlNodeDump")]
+ public int node_dump (Xml.Doc *doc, Xml.Node *cur, int level, int format);
+ }
+
+ [Compact]
[CCode (cname = "xmlDoc", free_function = "xmlFreeDoc", cheader_filename = "libxml/tree.h,libxml/parser.h")]
public class Doc {
public ElementType type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]