aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-21 05:17:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-02-21 05:17:41 +0000
commit8acbd4de1824a68be5bffb97a6d9857fc85cb9e4 (patch)
tree7da8cff205ed6ad16c8cf188b190aedcb12fe33c /hash.c
parent896b4030f6f663ac338b5c7e40f52ac202423695 (diff)
downloadruby-8acbd4de1824a68be5bffb97a6d9857fc85cb9e4.tar.gz
backward.h: 2.2 deprecated features
* include/ruby/backward.h (DECLARE_DEPRECATED_FEATURE): move features deprecated at 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/hash.c b/hash.c
index bec9c8522b..4b76d0282f 100644
--- a/hash.c
+++ b/hash.c
@@ -84,12 +84,6 @@ static VALUE envtbl;
static ID id_hash, id_yield, id_default, id_flatten_bang;
VALUE
-rb_hash_ifnone(VALUE h)
-{
- return RHASH_IFNONE(h);
-}
-
-VALUE
rb_hash_set_ifnone(VALUE hash, VALUE ifnone)
{
RB_OBJ_WRITE(hash, (&RHASH(hash)->ifnone), ifnone);
@@ -266,12 +260,6 @@ rb_obj_hash(VALUE obj)
return ST2FIX(hnum);
}
-int
-rb_hash_iter_lev(VALUE h)
-{
- return RHASH_ITER_LEV(h);
-}
-
static const struct st_hash_type objhash = {
rb_any_cmp,
rb_any_hash,