diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-30 11:58:33 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-09-30 11:58:33 +0000 |
commit | c879b60152ccfb4317ae86c22f8947c3b1d442bb (patch) | |
tree | ac6400685ce96c638269658972e5a1ec9d6c4cbc /internal.h | |
parent | e7c8073a62784ed88e64ba7b2e321b5e1aa10e26 (diff) |
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
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 */ |