diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-01 08:56:45 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-01 08:56:45 +0000 |
commit | 53118356b53259b456aabc11fb1212d965251fc4 (patch) | |
tree | cfa16b2fa793fb9a4691f21bd028a0170a598cff /io.c | |
parent | 896c0dff6330d461ce428d61df0f60fb8bad07a7 (diff) |
exception model changed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -2405,14 +2405,15 @@ opt_i_set(val) inplace = RSTRING(val)->ptr; } +extern VALUE mKernel; +extern VALUE mEnumerable; +extern VALUE eStandardError; + void Init_IO() { - extern VALUE mKernel; - extern VALUE mEnumerable; - extern VALUE eException; - - eEOFError = rb_define_class("EOFError", eException); + eIOError = rb_define_class("IOError", eStandardError); + eEOFError = rb_define_class("EOFError", eIOError); id_write = rb_intern("write"); |