summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-09 13:34:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-09 13:34:21 +0000
commit0e3d10173bec301c075555e20a0fc1da853ab35c (patch)
tree0f0192209aeea3935d36b1d02be6da37975ce487 /transcode_data.h
parenta596f3a7e600807f07d11ad6e20009f941f1216e (diff)
* 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
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h3
1 files changed, 0 insertions, 3 deletions
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;