From 4bceda1125242d365558d6c870215c8e2125e29a Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 9 Aug 2008 07:35:28 +0000 Subject: * transcode_data.h (rb_transcoding): new fields: next_info and next_byte. * transcode.c (transcode_restartable): save/restore next_info and next_byte. sync readlen and in_p when invalid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- transcode_data.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'transcode_data.h') diff --git a/transcode_data.h b/transcode_data.h index 3801c38ec8..12e24e71eb 100644 --- a/transcode_data.h +++ b/transcode_data.h @@ -66,6 +66,8 @@ typedef struct rb_transcoding { int resume_position; const BYTE_LOOKUP *next_table; + VALUE next_info; + unsigned char next_byte; int readlen; union { unsigned char ary[8]; /* max_input <= sizeof(ary) */ -- cgit v1.2.3