diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-03 11:48:17 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-03 11:48:17 +0000 |
commit | 4277473d5b42ae87dab2e2203c5f7602e41f9456 (patch) | |
tree | c6b456d6271dfff134c834f19f0d0d2423cb2dfa /transcode_data.h | |
parent | 9233dc9bf4072a20f67c25df5ce181f614edccd7 (diff) |
* transcode_data.h (rb_transcoder): new field: byte_array_length and
word_array_length.
* tool/transcode-tblgen.rb (transcode_generated_code): generate
byte_array_length and word_array_length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode_data.h')
-rw-r--r-- | transcode_data.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/transcode_data.h b/transcode_data.h index 90a946cce2..1ceb0cf473 100644 --- a/transcode_data.h +++ b/transcode_data.h @@ -104,7 +104,9 @@ struct rb_transcoder { const char *to_encoding; unsigned int conv_tree_start; const unsigned char *byte_array; + unsigned int byte_array_length; const unsigned int *word_array; + unsigned int word_array_length; int word_size; int input_unit_length; int max_input; |