Explorar o código

Merge pull request #1171 from richardkchapman/mangled_xmllib

Fix gh-1166 ESP failing to load xml processor

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=13) %!d(string=hai) anos
pai
achega
277c31cbf9
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      system/xmllib/xmlvalidator.hpp
  2. 1 1
      system/xmllib/xslprocessor.hpp

+ 1 - 1
system/xmllib/xmlvalidator.hpp

@@ -49,7 +49,7 @@ interface XMLLIB_API IXmlDomParser : public IInterface
 };
 
 
-XMLLIB_API IXmlDomParser* getXmlDomParser();
+extern "C" XMLLIB_API IXmlDomParser* getXmlDomParser();
 
 
 #endif

+ 1 - 1
system/xmllib/xslprocessor.hpp

@@ -125,6 +125,6 @@ interface XMLLIB_API IXslProcessor : public IInterface
     virtual int getCacheTimeout() = 0;
 };
 
-XMLLIB_API IXslProcessor* getXslProcessor();
+extern "C" XMLLIB_API IXslProcessor* getXslProcessor();
 
 #endif