summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-11 13:50:32 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-11 13:50:32 +0000
commit7dafaea0efc73c94f46447f7949753369ec3e53e (patch)
tree4b961867cca8a312e42235bbf4a0dc4ee0c51101 /bignum.c
parent840a4573af4477f699714030d7f5191796d591d7 (diff)
merge revision(s) 54168: [Backport #12391]
* bignum.c (rb_big_hash): make it public function to be available in other source files, and remove documentation comment for Bignum#hash. * bignum.c (Bignum#hash): remove its definition because it is unified with Object#hash. * include/ruby/intern.h (rb_big_hash): add a prototype declaration. * hash.c (any_hash): treat Bignum values directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index e71c414d27..38380f6c4e 100644
--- a/bignum.c
+++ b/bignum.c
@@ -6804,7 +6804,7 @@ rb_big_aref(VALUE x, VALUE y)
* See also Object#hash.
*/
-static VALUE
+VALUE
rb_big_hash(VALUE x)
{
st_index_t hash;