From 9dcc08646f0a26b61ae162daffeb0ce5fbc60f0e Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 22 Sep 2004 04:47:37 +0000 Subject: * hash.c (rb_hash_rehash): add iteration check. [ruby-dev:24301] * st.c (st_foreach): add deep check. * array.c (rb_ary_collect_bang): element size might change during comparison. [ruby-dev:24300] * array.c (rb_ary_reject_bang): ditto. [ruby-dev:24300] * array.c (rb_ary_eql): ditto. [ruby-dev:24300] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- st.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'st.h') diff --git a/st.h b/st.h index bbb4306abf..cdf8a1220b 100644 --- a/st.h +++ b/st.h @@ -25,7 +25,7 @@ struct st_table { #define st_is_member(table,key) st_lookup(table,key,(st_data_t *)0) -enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE}; +enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK}; st_table *st_init_table(struct st_hash_type *); st_table *st_init_table_with_size(struct st_hash_type *, int); -- cgit v1.2.3