[macruby-changes] [4959] MacRuby/trunk/transcode.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 30 16:34:05 PST 2010


Revision: 4959
          http://trac.macosforge.org/projects/ruby/changeset/4959
Author:   lsansonetti at apple.com
Date:     2010-11-30 16:34:02 -0800 (Tue, 30 Nov 2010)
Log Message:
-----------
these exceptions are already defined in error.c

Modified Paths:
--------------
    MacRuby/trunk/transcode.c

Modified: MacRuby/trunk/transcode.c
===================================================================
--- MacRuby/trunk/transcode.c	2010-11-30 09:25:57 UTC (rev 4958)
+++ MacRuby/trunk/transcode.c	2010-12-01 00:34:02 UTC (rev 4959)
@@ -381,10 +381,6 @@
 void
 Init_Transcode(void)
 {
-    rb_eUndefinedConversionError = rb_define_class_under(rb_cEncoding, "UndefinedConversionError", rb_eEncodingError);
-    rb_eInvalidByteSequenceError = rb_define_class_under(rb_cEncoding, "InvalidByteSequenceError", rb_eEncodingError);
-    rb_eConverterNotFoundError = rb_define_class_under(rb_cEncoding, "ConverterNotFoundError", rb_eEncodingError);
-
     rb_objc_define_method(rb_cRubyString, "encode", rstr_encode, -1);
     rb_objc_define_method(rb_cRubyString, "encode!", rstr_encode_bang, -1);
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101130/907fa50b/attachment.html>


More information about the macruby-changes mailing list