diff options
author | William M. Brack <wbrack@src.gnome.org> | 2003-10-18 04:53:14 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2003-10-18 04:53:14 +0000 |
commit | 871611bb0325095b30559ff1edc1fdaa2ad5fd2f (patch) | |
tree | 26133079cfc10b49cdc63b27b5761f6e0c6f2e3f /testSAX.c | |
parent | 4aede2e66b88ad782b506341c6ea40554456a8b4 (diff) | |
download | libxml2-871611bb0325095b30559ff1edc1fdaa2ad5fd2f.tar.gz |
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
Diffstat (limited to 'testSAX.c')
-rw-r--r-- | testSAX.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -82,7 +82,8 @@ xmlSAXHandler emptySAXHandlerStruct = { 1, NULL, NULL, /* startElementNs */ - NULL /* endElementNs */ + NULL, /* endElementNs */ + NULL /* xmlStructuredErrorFunc */ }; xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct; @@ -694,6 +695,7 @@ xmlSAXHandler debugSAXHandlerStruct = { 1, NULL, NULL, + NULL, NULL }; @@ -817,7 +819,8 @@ xmlSAXHandler debugSAX2HandlerStruct = { XML_SAX2_MAGIC, NULL, startElementNsDebug, - endElementNsDebug + endElementNsDebug, + NULL }; xmlSAXHandlerPtr debugSAX2Handler = &debugSAX2HandlerStruct; |