* transcode.c (transcode_loop): take destination and resize function
commit30e4a4e72807ff53c728341e25df306f64f1be40
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Sat, 9 Aug 2008 13:34:21 +0000 (9 13:34 +0000)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Sat, 9 Aug 2008 13:34:21 +0000 (9 13:34 +0000)
tree0f0192209aeea3935d36b1d02be6da37975ce487
parent7ec52ef931f9ccb8a9a3ca291170412f7f9ed758
* transcode.c (transcode_loop): take destination and resize function
  as parameters.
  (more_output_buffer): ditto.
  (str_transcoding_resize): argument changed from rb_transcoding* to
  VALUE.
  (str_transcode): call transcode_loop with destination string and its
  resize function.

* transcode_data.h (rb_transcoding): move ruby_string_dest and
  flush_func to transcode_loop parameters.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ChangeLog
transcode.c
transcode_data.h