diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-09 06:02:01 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-09 06:02:01 +0000 |
commit | 48e2ba67472d31a27e068778515e16f920821516 (patch) | |
tree | c1f7be47d34829813983af23e46340bf806d4ff4 /load.c | |
parent | 3c2daaaa9edc80beb98f2ec115af4553fb178e39 (diff) | |
download | ruby-48e2ba67472d31a27e068778515e16f920821516.tar.gz ruby-48e2ba67472d31a27e068778515e16f920821516.tar.xz ruby-48e2ba67472d31a27e068778515e16f920821516.zip |
* transcode_data.h (rb_transcoding): add fields for restartable
transcoding.
(rb_transcoder): add max_input field.
from_unit_length field is renamed to input_unit_length.
* tool/transcode-tblgen.rb: generate max_input field.
* enc/trans/iso2022.erb.c: follow rb_transcoder change.
* enc/trans/utf_16_32.erb.c: ditto.
* transcode.c (PARTIAL_INPUT): new constant.
(transcode_char_start): new function.
(transcode_result_t): new type.
(transcode_restartable): new function.
(more_output_buffer): new function.
(transcode_loop): use transcode_restartable.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
0 files changed, 0 insertions, 0 deletions