summaryrefslogtreecommitdiff
path: root/rb/src/IceRuby/Init.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2015-02-18 10:29:49 -0330
committerMatthew Newhook <matthew@zeroc.com>2015-02-18 10:29:49 -0330
commitb55ce15878456e3d2f0656bcd6abd5a55c6774b1 (patch)
treee7e771a3d90ae7295f20bf0622b72c72cc3a85e0 /rb/src/IceRuby/Init.cpp
parentFixed ObjC build (diff)
downloadice-b55ce15878456e3d2f0656bcd6abd5a55c6774b1.tar.bz2
ice-b55ce15878456e3d2f0656bcd6abd5a55c6774b1.tar.xz
ice-b55ce15878456e3d2f0656bcd6abd5a55c6774b1.zip
Changes for brew, python PyPI packaging and ruby gem packaging.
Diffstat (limited to 'rb/src/IceRuby/Init.cpp')
-rw-r--r--rb/src/IceRuby/Init.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/rb/src/IceRuby/Init.cpp b/rb/src/IceRuby/Init.cpp
index 96ca34deca4..c23e57b5dbb 100644
--- a/rb/src/IceRuby/Init.cpp
+++ b/rb/src/IceRuby/Init.cpp
@@ -26,9 +26,15 @@ static VALUE iceModule;
extern "C"
{
+Ice::Plugin* createIceSSL(const Ice::CommunicatorPtr&, const std::string&, const Ice::StringSeq&);
+Ice::Plugin* createIceDiscovery(const Ice::CommunicatorPtr&, const string&, const Ice::StringSeq&);
+
void
ICE_DECLSPEC_EXPORT Init_IceRuby()
{
+ Ice::registerPluginFactory("IceSSL", createIceSSL, false);
+ Ice::registerPluginFactory("IceDiscovery", createIceDiscovery, false);
+
iceModule = rb_define_module("Ice");
initCommunicator(iceModule);
initLogger(iceModule);