ruby-changes:7102
From: akr <ko1@a...>
Date: Thu, 14 Aug 2008 20:57:07 +0900 (JST)
Subject: [ruby-changes:7102] Ruby:r18620 (trunk): * transcode.c (econv_max_output): removed.
akr 2008-08-14 20:56:55 +0900 (Thu, 14 Aug 2008) New Revision: 18620 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18620 Log: * transcode.c (econv_max_output): removed. Modified files: trunk/ChangeLog trunk/transcode.c Index: ChangeLog =================================================================== --- ChangeLog (revision 18619) +++ ChangeLog (revision 18620) @@ -1,3 +1,7 @@ +Thu Aug 14 20:56:28 2008 Tanaka Akira <akr@f...> + + * transcode.c (econv_max_output): removed. + Thu Aug 14 20:52:55 2008 Tanaka Akira <akr@f...> * tool/transcode-tblgen.rb: check unexpected actions. Index: transcode.c =================================================================== --- transcode.c (revision 18619) +++ transcode.c (revision 18620) @@ -1611,22 +1611,6 @@ } } -/* - * call-seq: - * max_output -> int - * - * returns the maximum length of output unit in bytes. - */ -static VALUE -econv_max_output(VALUE self) -{ - rb_econv_t *ts = check_econv(self); - int n; - n = ts->elems[ts->num_trans-1].tc->transcoder->max_output; - - return INT2FIX(n); -} - void Init_transcode(void) { @@ -1648,7 +1632,6 @@ rb_define_method(rb_cEncodingConverter, "initialize", econv_init, -1); rb_define_method(rb_cEncodingConverter, "inspect", econv_inspect, 0); rb_define_method(rb_cEncodingConverter, "primitive_convert", econv_primitive_convert, -1); - rb_define_method(rb_cEncodingConverter, "max_output", econv_max_output, 0); rb_define_const(rb_cEncodingConverter, "PARTIAL_INPUT", INT2FIX(PARTIAL_INPUT)); rb_define_const(rb_cEncodingConverter, "OUTPUT_FOLLOWED_BY_INPUT", INT2FIX(OUTPUT_FOLLOWED_BY_INPUT)); rb_define_const(rb_cEncodingConverter, "UNIVERSAL_NEWLINE_DECODER", INT2FIX(UNIVERSAL_NEWLINE_DECODER)); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/