aboutsummaryrefslogtreecommitdiffstats
path: root/transcode_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/transcode_data.h b/transcode_data.h
index f7294e4356..1ffd213d5a 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -67,12 +67,12 @@ typedef struct rb_transcoding {
const BYTE_LOOKUP *next_table;
VALUE next_info;
unsigned char next_byte;
- int readlen; /* already interpreted */
- int feedlen; /* not yet interpreted */
+ int recognized_len; /* already interpreted */
+ int readagain_len; /* not yet interpreted */
union {
unsigned char ary[8]; /* max_input <= sizeof(ary) */
unsigned char *ptr; /* length is max_input */
- } readbuf; /* readlen + feedlen used */
+ } readbuf; /* recognized_len + readagain_len used */
unsigned char stateful[256]; /* opaque data for stateful encoding */
} rb_transcoding;