1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-17 02:03:36 +03:00

fixed problem with 'minimal library' compilation (LIBXML_PATTERN_ENABLED

* gentest.py, testapi.c: fixed problem with 'minimal library'
  compilation (LIBXML_PATTERN_ENABLED not properly checked) reported
  by Greg Morgan
This commit is contained in:
William M. Brack 2005-03-25 03:05:46 +00:00
parent 53b5e0526f
commit ba1d317aa8
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Thu Mar 24 19:01:22 PST 2005 William Brack <wbrack@mmm.com.hk>
* gentest.py, testapi.c: fixed problem with 'minimal library'
compilation (LIBXML_PATTERN_ENABLED not properly checked) reported
by Greg Morgan
Thu Mar 24 12:01:30 CET 2005 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xmlschemas.c: Fixed call to a facet error report: the type of

View File

@ -45,6 +45,7 @@ modules_defines = {
"xmlsave" : "LIBXML_OUTPUT_ENABLED",
"DOCBparser" : "LIBXML_DOCB_ENABLED",
"xmlmodule" : "LIBXML_MODULES_ENABLED",
"pattern" : "LIBXML_PATTERN_ENABLED",
}
#

View File

@ -16733,6 +16733,7 @@ test_xmlPatterncompile(void) {
return(test_ret);
}
#ifdef LIBXML_PATTERN_ENABLED
#define gen_nb_xmlStreamCtxtPtr 1
static xmlStreamCtxtPtr gen_xmlStreamCtxtPtr(int no ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
@ -16740,6 +16741,8 @@ static xmlStreamCtxtPtr gen_xmlStreamCtxtPtr(int no ATTRIBUTE_UNUSED, int nr ATT
}
static void des_xmlStreamCtxtPtr(int no ATTRIBUTE_UNUSED, xmlStreamCtxtPtr val ATTRIBUTE_UNUSED, int nr ATTRIBUTE_UNUSED) {
}
#endif
static int
test_xmlStreamPop(void) {