summaryrefslogtreecommitdiffstats
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-20 22:26:14 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-20 22:26:14 +0000
commit022792c4956b7d84d578cada84a90aad47862541 (patch)
tree1c41a8e46f75308f9a2c77027099948503059249 /include/ruby/encoding.h
parent1fea057c4c5c8abce40df55e71cc20457b0cf2fe (diff)
downloadruby-022792c4956b7d84d578cada84a90aad47862541.tar.gz
ruby-022792c4956b7d84d578cada84a90aad47862541.tar.xz
ruby-022792c4956b7d84d578cada84a90aad47862541.zip
* encoding.c, include/ruby/encoding.h
(rb_enc_associate, rb_enc_associate_index): returns obj. [ruby-dev:34778] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/encoding.h')
-rw-r--r--include/ruby/encoding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h
index ade293ec6..e67b834c0 100644
--- a/include/ruby/encoding.h
+++ b/include/ruby/encoding.h
@@ -83,8 +83,8 @@ rb_encoding* rb_to_encoding(VALUE);
rb_encoding* rb_enc_get(VALUE);
rb_encoding* rb_enc_compatible(VALUE,VALUE);
rb_encoding* rb_enc_check(VALUE,VALUE);
-void rb_enc_associate_index(VALUE, int);
-void rb_enc_associate(VALUE, rb_encoding*);
+VALUE rb_enc_associate_index(VALUE, int);
+VALUE rb_enc_associate(VALUE, rb_encoding*);
void rb_enc_copy(VALUE dst, VALUE src);
VALUE rb_enc_str_new(const char*, long, rb_encoding*);