aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 17:07:29 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-17 17:07:29 +0000
commitce81367bc953fbe236dcd58f4145b6a95b02a9c5 (patch)
tree7028ca84ab2b509294d85f1c089401cff1ab48af /include
parent4f4fc25efa63447cf707b5e75e0789f2ad55340a (diff)
downloadruby-ce81367bc953fbe236dcd58f4145b6a95b02a9c5.tar.gz
* bignum.c (rb_big_even_p, rb_big_odd_p): make them public functions
to be available in other source files. * include/ruby/intern.h (rb_big_even_p, rb_big_odd_p): add prototype declarations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 816bc7e140..a53cfcb691 100644
--- a/include/ruby/intern.h
+++ b/include/ruby/intern.h
@@ -131,6 +131,8 @@ VALUE rb_big_or(VALUE, VALUE);
VALUE rb_big_xor(VALUE, VALUE);
VALUE rb_big_lshift(VALUE, VALUE);
VALUE rb_big_rshift(VALUE, VALUE);
+VALUE rb_big_odd_p(VALUE);
+VALUE rb_big_even_p(VALUE);
/* For rb_integer_pack and rb_integer_unpack: */
/* "MS" in MSWORD and MSBYTE means "most significant" */