diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-21 05:17:41 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-21 05:17:41 +0000 |
commit | 556a1352e4d1f44f900c83027f1e888b0ae7cdb1 (patch) | |
tree | 7da8cff205ed6ad16c8cf188b190aedcb12fe33c /hash.c | |
parent | bd26c796a100f5bab429a0891d367e5bc4a793e7 (diff) |
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.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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, |