2bba3d20f5
the use of modified default calling conventions in client code. To deal with this issue and generally clean up the mass of macros being used to support bits of the machinery, two new macros are being added: - XMLCALL, which expands to whatever is needed to nail down the calling convention for all calls across the library boundary. This must match the convention used for the system's malloc() implementation. - XMLIMPORT, defined to be whatever magic is needed to mark an entry point as imported from a dynamically loaded module (.dll, .so, .sl, whatever). These macros are used to define the XMLPARSEAPI macro already being used to define the API entry points. In addition, XMLCALL is used to define the types of callback functions, and all example code uses this explicitly in both the distributed applications and the documentation. |
||
---|---|---|
.. | ||
benchmark | ||
.gitignore | ||
chardata.c | ||
chardata.h | ||
README.txt | ||
runtests.c | ||
xmltest.sh |
This directory contains the (fledgling) test suite for Expat. The tests provide general unit testing and regression coverage. The tests are not expected to be useful examples of Expat usage; see the examples/ directory for that. The Expat tests use the "Check" unit testing framework for C. More information on Check can be found at: http://check.sourceforge.net/ Check 0.8 must be installed before the unit tests can be compiled & run. Since both Check and this test suite are young, it can all change in a later version.