diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-02 07:35:21 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-02 07:35:21 +0000 |
commit | faf295f1e1467b6f4e088877db258be03c7be4f4 (patch) | |
tree | 7175adf3b8fe56f7541453c260d5651aeda0e37c /test/testunit | |
parent | 86bbfdadf3d9f2da5febeb02a3dcf81f3f2478ef (diff) | |
download | ruby-faf295f1e1467b6f4e088877db258be03c7be4f4.tar.gz |
* encoding.c (str_to_encoding): rename from to_encoding and
use str_to_encindex.
* encoding.c (str_to_encindex): split from to_encoding.
* encoding.c (rb_to_encoding): use str_to_encoding.
* encoding.c (rb_obj_encoding): don't bypass rb_encoding*.
If it uses rb_encoding*, it bypass encindex. If it uses encindex,
it doesn't bypass.
* encoding.c (enc_find): add shortcut for encoding object, use
str_to_encindex, and avoid bypass rb_encoding*.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/testunit')
0 files changed, 0 insertions, 0 deletions