1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-20 03:52:25 +03:00

enhanced macros to avoid breaking ABI from previous versions. modified to

* genChRanges.py, chvalid.c, include/libxml/chvalid.h,
  include/libxml/parserInternals.h: enhanced macros to avoid
  breaking ABI from previous versions.
* catalog.c, parser.c, tree.c: modified to use IS_* macros
  defined in parserInternals.h.  Makes maintenance much easier.
* testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid
  compilation warnings
* configuration.in: fixed pushHTML test error; enhanced for
  better devel (me) testing
This commit is contained in:
William M. Brack
2003-10-18 04:53:14 +00:00
parent 4aede2e66b
commit 871611bb03
13 changed files with 200 additions and 105 deletions

View File

@@ -78,10 +78,11 @@ xmlSAXHandler emptySAXHandlerStruct = {
NULL, /* getParameterEntity */
NULL, /* cdataBlock */
NULL, /* externalSubset */
1,
NULL,
NULL,
NULL
1, /* initialized */
NULL, /* private */
NULL, /* startElementNsSAX2Func */
NULL, /* endElementNsSAX2Func */
NULL /* xmlStructuredErrorFunc */
};
xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct;
@@ -604,6 +605,7 @@ xmlSAXHandler debugSAXHandlerStruct = {
1,
NULL,
NULL,
NULL,
NULL
};