summaryrefslogtreecommitdiffstats
path: root/enc/euc_tw.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-19 16:59:22 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-19 16:59:22 +0000
commitda4d53795fe404e58a706c387c01b7c5b2bafc2a (patch)
tree7009858c75da37a1b66ae7c9e53f3da744e8c498 /enc/euc_tw.c
parent87a686c4b201791ffe4c5fd17c4b431328fc09a7 (diff)
downloadruby-da4d53795fe404e58a706c387c01b7c5b2bafc2a.tar.gz
ruby-da4d53795fe404e58a706c387c01b7c5b2bafc2a.tar.xz
ruby-da4d53795fe404e58a706c387c01b7c5b2bafc2a.zip
* encoding.c (rb_enc_codepoint_len): combine rb_enc_codepoint()
and rb_enc_codelen() in one function to reduce calls. * encoding.c (rb_enc_codepoint): compatibility function. * sprintf.c (rb_str_format): use rb_enc_codepoint_len(). * string.c (rb_str_inspect, rb_str_upcase_bang, rb_str_downcase_bang, rb_str_capitalize_bang, rb_str_swapcase_bang, trnext, tr_trans, rb_str_delete_bang, rb_str_squeeze_bang, rb_str_count, rb_str_split_m, rb_str_each_line, rb_str_each_codepoint, rb_str_lstrip_bang, sym_printable): ditto. * transcode.c (make_econv_exception): use rb_enc_mbc_to_codepoint() git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/euc_tw.c')
0 files changed, 0 insertions, 0 deletions