[gxml] libxml-2.0.vapi: add Xml.Error.get_last_error (xmlGetLastError)



commit 7d0fc9a3b5e7ed50bafbbe7fa42b853378ed4a84
Author: Richard Schwarting <aquarichy gmail com>
Date:   Mon Oct 14 05:07:46 2013 -0400

    libxml-2.0.vapi: add Xml.Error.get_last_error (xmlGetLastError)

 vapi/libxml-2.0.vapi |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/libxml-2.0.vapi b/vapi/libxml-2.0.vapi
index d532c9a..f20a815 100644
--- a/vapi/libxml-2.0.vapi
+++ b/vapi/libxml-2.0.vapi
@@ -1725,6 +1725,10 @@ namespace Xml {
                public int int2;
                public void* ctx;
                public void* node;
+
+               // TODO: should this just be get_last instead?
+               [CCode (cname = "xmlGetLastError")]
+               public static Xml.Error *get_last_error ();
        }
 
        [CCode (cname = "xmlErrorDomain", cprefix = "XML_FROM_", cheader_filename = "libxml/xmlerror.h", 
has_type_id = false)]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]