From b296c0d8b0d4a5dfdabe80896a55aae6c2363331 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 10 Dec 2007 12:47:55 +0000 Subject: * 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 --- include/ruby/encoding.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby/encoding.h') 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); -- cgit