From c879b60152ccfb4317ae86c22f8947c3b1d442bb Mon Sep 17 00:00:00 2001 From: glass Date: Sat, 30 Sep 2017 11:58:33 +0000 Subject: hash.c: remove special treatments on deletion st.c was improved in r56650 that it permits deletion during iteration. In this commit, special treatments for previous implementation are removed. * hash.c: don't use *_check and *_safe functions in st.c * internal.h: remove HASH_DELETED flag git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- internal.h | 1 - 1 file changed, 1 deletion(-) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 2521e11e6f..0b2e6366ee 100644 --- a/internal.h +++ b/internal.h @@ -1259,7 +1259,6 @@ VALUE rb_hash_keys(VALUE hash); VALUE rb_hash_values(VALUE hash); VALUE rb_hash_rehash(VALUE hash); int rb_hash_add_new_element(VALUE hash, VALUE key, VALUE val); -#define HASH_DELETED FL_USER1 #define HASH_PROC_DEFAULT FL_USER2 /* inits.c */ -- cgit v1.2.3