From fc0b6f6adac16ea1bf2ca3bfe935e67d9e9fb974 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sun, 9 Jan 2005 17:48:02 +0000 Subject: 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 --- testapi.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testapi.c') 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) { -- cgit v1.2.1