1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00

applied plugin patch for Windows by Joel Reed Daniel

* tests/plugins/testplugin.c win32/Makefile.msvc win32/configure.js:
  applied plugin patch for Windows by Joel Reed
Daniel
This commit is contained in:
Daniel Veillard
2005-01-30 19:02:09 +00:00
parent cea555bf1e
commit e04fbb1e27
4 changed files with 55 additions and 2 deletions

View File

@@ -9,7 +9,6 @@
* daniel@veillard.com
*/
#define IN_LIBXSLT
#include <libxslt/libxslt.h>
#ifdef WITH_MODULES
@@ -33,6 +32,14 @@
#define XSLT_TESTPLUGIN_URL "http://xmlsoft.org/xslt/testplugin"
/* make sure init function is exported on win32 */
#if defined(_WIN32)
#define PLUGINPUBFUN __declspec(dllexport)
#else
#define PLUGINPUBFUN
#endif
/************************************************************************
* *
* Test plugin module http://xmlsoft.org/xslt/testplugin *
@@ -311,7 +318,7 @@ xsltExtStyleShutdownTest(xsltStylesheetPtr style ATTRIBUTE_UNUSED,
*/
void
XSLTPUBFUN xmlsoft_org_xslt_testplugin_init(void)
PLUGINPUBFUN xmlsoft_org_xslt_testplugin_init(void)
{
xsltRegisterExtModuleFull((const xmlChar *) XSLT_TESTPLUGIN_URL,
xsltExtInitTest, xsltExtShutdownTest,