diff options
author | Bernard Normier <bernard@zeroc.com> | 2019-07-25 08:47:11 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2019-07-25 08:47:11 -0500 |
commit | 2b78296a9aa5dc507777a674479faf3cf35f8742 (patch) | |
tree | d2e75ee01791a1cf1a11ddd99fa68b2b0945e45c /cpp/test/Ice/plugin/Plugin.cpp | |
parent | White space cleanup (diff) | |
download | ice-2b78296a9aa5dc507777a674479faf3cf35f8742.tar.bz2 ice-2b78296a9aa5dc507777a674479faf3cf35f8742.tar.xz ice-2b78296a9aa5dc507777a674479faf3cf35f8742.zip |
Add support for hidden visibility on AIX/xlC.
Link libIceXML with libexpat-static on AIX/xlC.
Diffstat (limited to 'cpp/test/Ice/plugin/Plugin.cpp')
-rw-r--r-- | cpp/test/Ice/plugin/Plugin.cpp | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/cpp/test/Ice/plugin/Plugin.cpp b/cpp/test/Ice/plugin/Plugin.cpp index d18dea3d7d0..9fce188b23a 100644 --- a/cpp/test/Ice/plugin/Plugin.cpp +++ b/cpp/test/Ice/plugin/Plugin.cpp @@ -347,16 +347,14 @@ public: } -extern "C" -{ -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPlugin(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new Plugin(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginWithArgs(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq& args) { test(args.size() == 3); @@ -366,46 +364,44 @@ createPluginWithArgs(const Ice::CommunicatorPtr& communicator, const string&, co return new Plugin(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginInitializeFail(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginInitializeFail(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginOne(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginOne(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginTwo(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginTwo(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginThree(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginThree(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginOneFail(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginOneFail(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginTwoFail(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginTwoFail(communicator); } -ICE_DECLSPEC_EXPORT ::Ice::Plugin* +extern "C" ICE_DECLSPEC_EXPORT ::Ice::Plugin* createPluginThreeFail(const Ice::CommunicatorPtr& communicator, const string&, const Ice::StringSeq&) { return new PluginThreeFail(communicator); } - -} |