From 18a07e9d4b91e7ddd3b21d906ca2ab880cd01d64 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 29 Sep 2009 13:25:54 +0000 Subject: [PATCH] * include/ruby/intern.h (rb_struct_iv_get): deprecated because it is not used and access internal structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ include/ruby/intern.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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);