[vala] libxml-2.0: add several missing free_functions
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libxml-2.0: add several missing free_functions
- Date: Sun, 21 Mar 2010 08:12:57 +0000 (UTC)
commit c8fa4d1ea7231672e6b11c7e75b76c32de41f905
Author: julien <ljpupfr gmail com>
Date: Sun Mar 21 01:07:11 2010 -0700
libxml-2.0: add several missing free_functions
Fixes bug 604321.
vapi/libxml-2.0.vapi | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index 086b20f..00ecb6e 100644
--- a/vapi/libxml-2.0.vapi
+++ b/vapi/libxml-2.0.vapi
@@ -263,7 +263,7 @@ namespace Xml {
}
[Compact]
- [CCode (cname = "xmlAttr", cheader_filename = "libxml/tree.h")]
+ [CCode (cname = "xmlAttr", free_function = "xmlFreeProp", cheader_filename = "libxml/tree.h")]
public class Attr {
public ElementType type;
public weak string name;
@@ -458,7 +458,7 @@ namespace Xml {
}
[Compact]
- [CCode (cname = "xmlDtd", cheader_filename = "libxml/tree.h")]
+ [CCode (cname = "xmlDtd", free_function="xmlFreeDtd", cheader_filename = "libxml/tree.h")]
public class Dtd {
public ElementType type;
public string name;
@@ -777,7 +777,7 @@ namespace Xml {
}
[Compact]
- [CCode (cname = "xmlNs", cheader_filename = "libxml/tree.h")]
+ [CCode (cname = "xmlNs", free_function= "xmlFreeNs", cheader_filename = "libxml/tree.h")]
public class Ns {
[CCode (cname = "xmlNewNs")]
public Ns (Xml.Node* node, string href, string prefix);
@@ -1177,7 +1177,7 @@ namespace Xml {
public static long order_doc_elements (Doc* doc);
[Compact]
- [CCode (cname = "xmlNodeSet", cheader_filename = "libxml/xpath.h")]
+ [CCode (cname = "xmlNodeSet", free_function="xmlXPathFreeNodeSet", cheader_filename = "libxml/xpath.h")]
public class NodeSet {
[CCode (cname = "xmlXPathNodeSetGetLength")]
public int length ();
@@ -1242,7 +1242,7 @@ namespace Xml {
}
[Compact]
- [CCode (cname = "xmlXPathObject", cheader_filename = "libxml/xpath.h")]
+ [CCode (cname = "xmlXPathObject", free_function="xmlXPathFreeObject", cheader_filename = "libxml/xpath.h")]
public class Object {
public ObjectType type;
public NodeSet* nodesetval;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]