summaryrefslogtreecommitdiff
path: root/transcode_data.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-08 15:48:17 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-08 15:48:17 +0000
commit2833d9f95d076c09d7a4ba6b3f8ba26d33d56ef7 (patch)
tree10647c5a9855fd255251b268c14294a214841d7d /transcode_data.h
parenta456f022fc22182db58a7a32b21440af2c6ca0c5 (diff)
* transcode_data.h (rb_transcoder): from_unit_length field added.
from_utf8 field removed. * tool/transcode-tblgen.rb: generate offsets range. follow rb_transcoder change. * transcode.c (transcode_loop): don't use from_utf8. make invalid region from_unit_length wise. * enc/trans/iso2022.erb.c: follow rb_transcoder and transcode_generate_node change. * enc/trans/utf_16_32.erb.c: follow rb_transcoder and transcode_generate_node change. explicit :invalid map removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r--transcode_data.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/transcode_data.h b/transcode_data.h
index 92f8ade..ba2e6e9 100644
--- a/transcode_data.h
+++ b/transcode_data.h
@@ -72,8 +72,8 @@ typedef struct rb_transcoder {
const char *from_encoding;
const char *to_encoding;
const BYTE_LOOKUP *conv_tree_start;
+ int from_unit_length;
int max_output;
- int from_utf8;
VALUE (*func_ii)(rb_transcoding*, VALUE); /* info -> info */
VALUE (*func_si)(rb_transcoding*, const unsigned char*, size_t); /* start -> info */
int (*func_io)(rb_transcoding*, VALUE, const unsigned char*); /* info -> output */