[libxml2] 545579 doesn't compile without schema support
- From: Daniel Veillard <veillard src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libxml2] 545579 doesn't compile without schema support
- Date: Mon, 10 Aug 2009 13:15:36 +0000 (UTC)
commit c2e9d005088cac762f4d86c256474e6805662a72
Author: Daniel Veillard <veillard redhat com>
Date: Mon Aug 10 15:14:01 2009 +0200
545579 doesn't compile without schema support
* testapi.c: fix to get gen_nb_void_ptr_ptr() generated unconditionally
testapi.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/testapi.c b/testapi.c
index 93c4156..21d02a0 100644
--- a/testapi.c
+++ b/testapi.c
@@ -991,6 +991,13 @@ static void des_xmlParserNodeInfoSeqPtr(int no ATTRIBUTE_UNUSED, xmlParserNodeIn
static void desret_const_xmlParserNodeInfo_ptr(const xmlParserNodeInfo *val ATTRIBUTE_UNUSED) {
}
+#define gen_nb_void_ptr_ptr 1
+static void ** gen_void_ptr_ptr(int no ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
+ return(NULL);
+}
+static void des_void_ptr_ptr(int no ATTRIBUTE_UNUSED, void ** val ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
+}
+
/************************************************************************
* *
* WARNING: end of the manually maintained part of the test code *
@@ -17373,12 +17380,6 @@ static void des_xmlRelaxNGValidityWarningFunc_ptr(int no ATTRIBUTE_UNUSED, xmlRe
#ifdef LIBXML_SCHEMAS_ENABLED
-#define gen_nb_void_ptr_ptr 1
-static void ** gen_void_ptr_ptr(int no ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
- return(NULL);
-}
-static void des_void_ptr_ptr(int no ATTRIBUTE_UNUSED, void ** val ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
-}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]