From 0e3d10173bec301c075555e20a0fc1da853ab35c Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 9 Aug 2008 13:34:21 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@18458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode_data.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'transcode_data.h') diff --git a/transcode_data.h b/transcode_data.h index 12e24e71eb..ad20a0b9df 100644 --- a/transcode_data.h +++ b/transcode_data.h @@ -60,9 +60,6 @@ typedef struct byte_lookup { /* may carry conversion state (e.g. for iso-2022-jp) */ typedef struct rb_transcoding { const struct rb_transcoder *transcoder; - VALUE ruby_string_dest; /* the String used as the conversion destination, - or NULL if something else is being converted */ - unsigned char *(*flush_func)(struct rb_transcoding*, int, int); int resume_position; const BYTE_LOOKUP *next_table; -- cgit v1.2.3