From fe8bb861255035f7903c6f332f3cc87368a9c410 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 20 May 2008 22:26:14 +0000 Subject: * encoding.c, include/ruby/encoding.h (rb_enc_associate, rb_enc_associate_index): returns obj. [ruby-dev:34778] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/encoding.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/ruby') diff --git a/include/ruby/encoding.h b/include/ruby/encoding.h index ade293ec6f..e67b834c0b 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*); -- cgit v1.2.3