diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-18 01:22:38 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-18 01:22:38 +0000 |
commit | 1012445af17972089e9e037801d769d3108a9f0f (patch) | |
tree | 7d3856ad02f2dbf6bbafe51e1b412ccb22424e92 /include | |
parent | b8f2f4dbcc6cf10a624543e2bd97e2565b1bb182 (diff) | |
download | ruby-1012445af17972089e9e037801d769d3108a9f0f.tar.gz |
* 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/trunk@54168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a53cfcb691..643762c3cd 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -133,6 +133,7 @@ VALUE rb_big_lshift(VALUE, VALUE); VALUE rb_big_rshift(VALUE, VALUE); VALUE rb_big_odd_p(VALUE); VALUE rb_big_even_p(VALUE); +VALUE rb_big_hash(VALUE); /* For rb_integer_pack and rb_integer_unpack: */ /* "MS" in MSWORD and MSBYTE means "most significant" */ |