diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-29 08:25:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-29 08:25:49 +0000 |
commit | 987df2ece681f522d9286f0fef410bb373988bd6 (patch) | |
tree | 5e5b58ad564b018b23cf4631b3a70a2009721891 /object.c | |
parent | 07900180ec9b6f8ce79b69e54ed51f18cabffc60 (diff) |
hash.c: move rb_obj_hash
* hash.c (rb_obj_hash): move in order to share with rb_any_hash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -142,6 +142,7 @@ rb_obj_equal(VALUE obj1, VALUE obj2) return Qfalse; } +#if 0 /* * call-seq: * obj.hash -> fixnum @@ -171,6 +172,9 @@ rb_obj_hash(VALUE obj) #endif return LONG2FIX(rb_objid_hash(index)); } +#else +VALUE rb_obj_hash(VALUE obj); +#endif /* * call-seq: |