diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-01-11 13:50:06 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-01-11 13:50:06 +0000 |
commit | 727cb56e429874d86fe055dd721c154ff0086acf (patch) | |
tree | 997105e7adf1f39a16bf627b61ca42279db54e23 /rb/src/IceRuby/Communicator.cpp | |
parent | fix incorrect pathname in command line (diff) | |
download | ice-727cb56e429874d86fe055dd721c154ff0086acf.tar.bz2 ice-727cb56e429874d86fe055dd721c154ff0086acf.tar.xz ice-727cb56e429874d86fe055dd721c154ff0086acf.zip |
Deprecated setDefaultContext/getDefaultContext
Diffstat (limited to 'rb/src/IceRuby/Communicator.cpp')
-rw-r--r-- | rb/src/IceRuby/Communicator.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rb/src/IceRuby/Communicator.cpp b/rb/src/IceRuby/Communicator.cpp index 21461c023a3..dd4ffc65ac1 100644 --- a/rb/src/IceRuby/Communicator.cpp +++ b/rb/src/IceRuby/Communicator.cpp @@ -373,6 +373,8 @@ extern "C" VALUE IceRuby_Communicator_getDefaultContext(VALUE self) { + rb_warning("getDefaultContext has been deprecated; use per-proxy contexts or implicit contexts (if applicable) instead."); + ICE_RUBY_TRY { Ice::CommunicatorPtr p = getCommunicator(self); @@ -387,6 +389,8 @@ extern "C" VALUE IceRuby_Communicator_setDefaultContext(VALUE self, VALUE context) { + rb_warning("setDefaultContext has been deprecated; use per-proxy contexts or implicit contexts (if applicable) instead."); + ICE_RUBY_TRY { Ice::Context ctx; |