summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-11 01:06:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-11 01:06:21 +0000
commitbd5bf3726cd33ac084b54858edbeb3d17c29076e (patch)
tree3de5fe0faa66c8ebfc37ebb042db9a583f931be7 /transcode_data.h
parentbadd9f1efca296be0f1dce0491f8c7662434da5f (diff)
* transcode_data.h (rb_transcoding): rename fields.
readlen -> recognized_len. feedlen -> readagain_len. * transcode.c: follow the field renaming. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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;