summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-20 16:37:13 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-20 16:37:13 +0000
commit95698ff2a414f6c212377ab321225bdcebd11a9f (patch)
tree5aa50c5dee2f50136fc1160c357a839a8f0bd861 /include
parentc051ec7bc0987f137911072152f09961c0711922 (diff)
* transcode.c, include/ruby/encodng.h (rb_str_transcode):
C API of encoding conversion for Ruby object. VALUE rb_str_transcode(VALUE str, VALUE to). * transcode.c (str_encode, str_encode_bang): rename from rb_tr_transcode or rb_str_transcode_bang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/encoding.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index 0a6b7c18e2..e5820beb7c 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -193,4 +193,6 @@ rb_enc_dummy_p(rb_encoding *enc)
return ENC_DUMMY_P(ENC_FROM_ENCODING(enc));
}
+VALUE rb_str_transcode(VALUE str, VALUE to);
+
#endif /* RUBY_ENCODING_H */