summaryrefslogtreecommitdiff
path: root/rb/src/IceRuby/Proxy.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-07-07 15:33:18 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-07-07 15:33:18 +0200
commitfefb31d0a86e4b86c5a586ff3340f58351d9a32a (patch)
tree5f78fceb6acafc3fee0d9d0e5284731616bc0f2b /rb/src/IceRuby/Proxy.cpp
parentFixed ICE-5532: removed un-used CryptGenRandom code (diff)
downloadice-fefb31d0a86e4b86c5a586ff3340f58351d9a32a.tar.bz2
ice-fefb31d0a86e4b86c5a586ff3340f58351d9a32a.tar.xz
ice-fefb31d0a86e4b86c5a586ff3340f58351d9a32a.zip
Removed use of ice_getHash in tests and Ruby mapping
Diffstat (limited to 'rb/src/IceRuby/Proxy.cpp')
-rw-r--r--rb/src/IceRuby/Proxy.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/rb/src/IceRuby/Proxy.cpp b/rb/src/IceRuby/Proxy.cpp
index 4eecb5fe88b..c0caa326aa0 100644
--- a/rb/src/IceRuby/Proxy.cpp
+++ b/rb/src/IceRuby/Proxy.cpp
@@ -73,21 +73,6 @@ checkArgs(const char* name, int numArgs, int argc, VALUE* argv, Ice::Context& ct
extern "C"
VALUE
-IceRuby_ObjectPrx_ice_getHash(VALUE self)
-{
- rb_warning("ice_getHash is deprecated, use hash instead.");
-
- ICE_RUBY_TRY
- {
- Ice::ObjectPrx p = getProxy(self);
- return INT2FIX(p->__hash());
- }
- ICE_RUBY_CATCH
- return Qnil;
-}
-
-extern "C"
-VALUE
IceRuby_ObjectPrx_hash(VALUE self)
{
ICE_RUBY_TRY
@@ -1234,7 +1219,6 @@ IceRuby::initProxy(VALUE iceModule)
//
// Instance methods.
//
- rb_define_method(_proxyClass, "ice_getHash", CAST_METHOD(IceRuby_ObjectPrx_ice_getHash), 0);
rb_define_method(_proxyClass, "ice_getCommunicator", CAST_METHOD(IceRuby_ObjectPrx_ice_getCommunicator), 0);
rb_define_method(_proxyClass, "ice_toString", CAST_METHOD(IceRuby_ObjectPrx_ice_toString), 0);
rb_define_method(_proxyClass, "ice_isA", CAST_METHOD(IceRuby_ObjectPrx_ice_isA), -1);