diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-14 17:31:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-14 17:31:14 +0000 |
commit | 599076c45f26338e3ec20e545b8fad78aa6abcc9 (patch) | |
tree | 9628c96ed5663756a981d1bd27a9e98a20a4b615 /benchmark/bm_so_nsieve_bits.rb | |
parent | a7481aae3fc2d9e83dcf548e614209025c09fc83 (diff) |
encoding.c: encoding check
* encoding.c (enc_check_encoding): use is_data_encoding() to check
type consistently.
* encoding.c (must_encoding): return rb_encoding* instead of encoding
index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_so_nsieve_bits.rb')
0 files changed, 0 insertions, 0 deletions