aboutsummaryrefslogtreecommitdiffstats
path: root/include/ruby/backward.h
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-09-09 16:31:33 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-09-09 16:31:33 +0900
commit7d91217a0a65ff24ab629bd63870a5b0a36775de (patch)
tree411c64fa616a40290e1a93d749976f17d16aace5 /include/ruby/backward.h
parent1dab9557432e12f489109966b8ab5c6cb85afba6 (diff)
downloadruby-wip/cleanup-num-macros.tar.gz
ruby.h: simplify RB_NUM2INT() and RB_FIX2INT() declarationwip/cleanup-num-macros
Diffstat (limited to 'include/ruby/backward.h')
-rw-r--r--include/ruby/backward.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/backward.h b/include/ruby/backward.h
index c3606ac..e07e274 100644
--- a/include/ruby/backward.h
+++ b/include/ruby/backward.h
@@ -24,6 +24,11 @@ DECLARE_DEPRECATED_FEATURE(2.2, rb_enable_super);
DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_iter_lev);
DECLARE_DEPRECATED_FEATURE(2.2, rb_hash_ifnone);
+/* numeric.c */
+/* Note prototypes were only defined if SIZEOF_INT < SIZEOF_LONG. */
+DECLARE_DEPRECATED_FEATURE(2.5, rb_fix2int);
+DECLARE_DEPRECATED_FEATURE(2.5, rb_num2int);
+
/* string.c */
DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associate);
DECLARE_DEPRECATED_FEATURE(2.2, rb_str_associated);