From 6d7999c13285a7a2bec9073504703226e1a2b2f2 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/encoding.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index 6924e955a8..38ba031e67 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 v1.2.3