diff options
author | julien <ljpupfr@gmail.com> | 2010-03-21 01:07:11 -0700 |
---|---|---|
committer | Evan Nemerson <evan@coeus-group.com> | 2010-03-21 01:12:15 -0700 |
commit | c8fa4d1ea7231672e6b11c7e75b76c32de41f905 (patch) | |
tree | f82546b8c470c918a2456906872c7195175d904c /vapi/libxml-2.0.vapi | |
parent | 2c95c42e94bb4cb51d2bc9e09f09686a6adf162d (diff) | |
download | vala-c8fa4d1ea7231672e6b11c7e75b76c32de41f905.tar.gz |
libxml-2.0: add several missing free_functions
Fixes bug 604321.
Diffstat (limited to 'vapi/libxml-2.0.vapi')
-rw-r--r-- | 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 086b20fef..00ecb6e21 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; |