diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-29 17:33:01 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-29 17:33:01 +0000 |
commit | 04d83114a616daa8e1586f8d2cc71b209beac3d4 (patch) | |
tree | 4e28ad5f5f27755315af8c87ccfe4b4f570fb42c /include/ruby | |
parent | 9ebf6473ebfd76e64c33904bb555b5fc8435dc66 (diff) | |
download | ruby-04d83114a616daa8e1586f8d2cc71b209beac3d4.tar.gz |
* encoding.c (rb_utf8_encindex): defined.
* include/ruby/encoding.h (rb_utf8_encindex): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/encoding.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 33a8fcd73e..45508c318d 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -167,8 +167,9 @@ rb_encoding *rb_usascii_encoding(void); rb_encoding *rb_locale_encoding(void); rb_encoding *rb_filesystem_encoding(void); rb_encoding *rb_default_external_encoding(void); -int rb_usascii_encindex(void); int rb_ascii8bit_encindex(void); +int rb_utf8_encindex(void); +int rb_usascii_encindex(void); VALUE rb_enc_default_external(void); void rb_enc_set_default_external(VALUE encoding); VALUE rb_locale_charmap(VALUE klass); |