diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 12:47:55 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 12:47:55 +0000 |
| commit | b296c0d8b0d4a5dfdabe80896a55aae6c2363331 (patch) | |
| tree | 5aa9e2e5c0da2ef9e8fb32bc174d53a5fe67ecb1 /include/ruby/encoding.h | |
| parent | fc9493aaea3ca029b2c6fffe887a41a121993146 (diff) | |
| download | ruby-b296c0d8b0d4a5dfdabe80896a55aae6c2363331.tar.gz ruby-b296c0d8b0d4a5dfdabe80896a55aae6c2363331.tar.xz ruby-b296c0d8b0d4a5dfdabe80896a55aae6c2363331.zip | |
* transcode.c (str_transcode): allow non-registered encodings.
[ruby-dev:32520]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
| -rw-r--r-- | include/ruby/encoding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 6924e955a..38ba031e6 100644 --- a/include/ruby/encoding.h +++ b/include/ruby/encoding.h @@ -38,6 +38,7 @@ typedef OnigEncodingType rb_encoding; +int rb_enc_replicate(const char *, rb_encoding *); int rb_enc_to_index(rb_encoding*); int rb_enc_get_index(VALUE obj); int rb_enc_find_index(const char *name); |
