Hi there. The following applies to the native Windows platform, using MS compiler, exclusively. That damn LIBXML_DLL_IMPORT macro comes to plague us again. The small patch which enables client programs to use xmlBoolToText from a shared library is at the end of this email. Further, I have enhanced the export list. The enhanced libxml2.def.src file is zipped and attached to this email. It should simply be extracted to win32/dsp subdirectory, overwriting whatever is in the way. Cheers Igor Index: gnome-xml/include/libxml/debugXML.h =================================================================== RCS file: /cvs/gnome/gnome-xml/include/libxml/debugXML.h,v retrieving revision 1.19 diff -c -r1.19 debugXML.h *** gnome-xml/include/libxml/debugXML.h 2001/11/26 15:58:07 1.19 --- gnome-xml/include/libxml/debugXML.h 2001/12/19 19:44:46 *************** *** 50,56 **** void xmlLsOneNode (FILE *output, xmlNodePtr node); int xmlLsCountNode (xmlNodePtr node); ! const char *xmlBoolToText (int boolval); /**************************************************************** * * --- 50,56 ---- void xmlLsOneNode (FILE *output, xmlNodePtr node); int xmlLsCountNode (xmlNodePtr node); ! LIBXML_DLL_IMPORT const char *xmlBoolToText (int boolval); /**************************************************************** * *
Attachment:
libxml2.def.src.zip
Description: Zip compressed data