summaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-10 02:17:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-10 02:17:56 +0000
commitace02038c0ed5e4b98f7a18980909a6f7651c8f6 (patch)
tree2171a5a98d88da50480ebeaab8de82c39af17ef1 /encoding.c
parent625cb1355eac66aa49acf71f021ad93b497c18d0 (diff)
downloadruby-ace02038c0ed5e4b98f7a18980909a6f7651c8f6.tar.gz
ruby-ace02038c0ed5e4b98f7a18980909a6f7651c8f6.tar.xz
ruby-ace02038c0ed5e4b98f7a18980909a6f7651c8f6.zip
* transcode_data.h (rb_transcoding): add feedlen field.
* transcode.c (transcode_restartable0): renamed from transcode_restartable. save input buffer into feed buffer if next character is started the point before input buffer. for example, "\x00\xd8\x01" then "\x02" in UTF-16LE. \x02 causes invalid and next character is started from \x01. (transcode_restartable): new function to call transcode_restartable0. if feed buffer is not empty, convert it at first. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'encoding.c')
0 files changed, 0 insertions, 0 deletions