diff --git a/ChangeLog b/ChangeLog index 7347127e35..1ee8e60934 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 29 22:25:41 2009 Tanaka Akira + + * include/ruby/intern.h (rb_struct_iv_get): deprecated because it is + not used and access internal structure. + Tue Sep 29 22:19:36 2009 Tanaka Akira * lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsec diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 9a5a9d8a46..b54bf0c943 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -735,7 +735,7 @@ VALUE rb_struct_initialize(VALUE, VALUE); VALUE rb_struct_aref(VALUE, VALUE); VALUE rb_struct_aset(VALUE, VALUE, VALUE); VALUE rb_struct_getmember(VALUE, ID); -VALUE rb_struct_iv_get(VALUE, const char*); +DEPRECATED(VALUE rb_struct_iv_get(VALUE, const char*)); VALUE rb_struct_s_members(VALUE); VALUE rb_struct_members(VALUE); VALUE rb_struct_alloc_noinit(VALUE);