summaryrefslogtreecommitdiffstats
path: root/ruby.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-22 04:48:52 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-09-22 04:48:52 +0000
commit7c36ce8ac3efdb899fe479011af3b3da18bae561 (patch)
tree8006036c98680136b7470af4431d95663fcfffec /ruby.h
parent22b217dc6fcdf142195ea29a28f5ace02b9a624b (diff)
downloadruby-7c36ce8ac3efdb899fe479011af3b3da18bae561.tar.gz
ruby-7c36ce8ac3efdb899fe479011af3b3da18bae561.tar.xz
ruby-7c36ce8ac3efdb899fe479011af3b3da18bae561.zip
* hash.c (rb_hash_rehash): add iteration check. [ruby-dev:24301]
* st.c (st_foreach): add deep check. * hash.c (rb_hash_fetch): returns KeyError instead of IndexError. * hash.c (env_fetch): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.h b/ruby.h
index 5cd858e49..31adf0ea2 100644
--- a/ruby.h
+++ b/ruby.h
@@ -604,6 +604,7 @@ RUBY_EXTERN VALUE rb_eFatal;
RUBY_EXTERN VALUE rb_eArgError;
RUBY_EXTERN VALUE rb_eEOFError;
RUBY_EXTERN VALUE rb_eIndexError;
+RUBY_EXTERN VALUE rb_eKeyError;
RUBY_EXTERN VALUE rb_eRangeError;
RUBY_EXTERN VALUE rb_eIOError;
RUBY_EXTERN VALUE rb_eRuntimeError;