summaryrefslogtreecommitdiff
path: root/testapi.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-01-09 17:48:02 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-01-09 17:48:02 +0000
commitfc0b6f6adac16ea1bf2ca3bfe935e67d9e9fb974 (patch)
treeeb40ba705585913b7d93b4cef0adddb2ece47eb0 /testapi.c
parent99906ada06c58ef41af5dea93f5e2ba1b4d19ff6 (diff)
downloadlibxml2-fc0b6f6adac16ea1bf2ca3bfe935e67d9e9fb974.tar.gz
William noticed I forgot to add special support for xmlmodules.c define
* gentest.py testapi.c: William noticed I forgot to add special support for xmlmodules.c define * xmlregexp.c include/libxml/xmlregexp.h: added terminal to xmlRegExecErrInfo() API, adding new xmlRegExecNextValues() entry point and refactored to use both code. Daniel
Diffstat (limited to 'testapi.c')
-rw-r--r--testapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testapi.c b/testapi.c
index e7a34f23..11b7071c 100644
--- a/testapi.c
+++ b/testapi.c
@@ -28217,6 +28217,7 @@ test_xmlerror(void) {
printf("Module xmlerror: %d errors\n", test_ret);
return(test_ret);
}
+#ifdef LIBXML_MODULES_ENABLED
#define gen_nb_xmlModulePtr 1
static xmlModulePtr gen_xmlModulePtr(int no ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
@@ -28224,6 +28225,8 @@ static xmlModulePtr gen_xmlModulePtr(int no ATTRIBUTE_UNUSED, int nr ATTRIBUTE_U
}
static void des_xmlModulePtr(int no ATTRIBUTE_UNUSED, xmlModulePtr val ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
}
+#endif
+
static int
test_xmlModuleClose(void) {