diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 03:07:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 03:07:06 +0000 |
commit | 6f77d0a3aa1cc09e7d7926bb62b9e076a5048bfa (patch) | |
tree | b64007ed694704812e775863ea806611dfeb94cf /class.c | |
parent | a96626e6da972d3e0d78669c075405de43c66eda (diff) | |
download | ruby-6f77d0a3aa1cc09e7d7926bb62b9e076a5048bfa.tar.gz |
variable.c: rb_class_ivar_set
* variable.c (rb_class_ivar_set): rename as class specific ivar
setter, and st_table is no longer involved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -426,7 +426,7 @@ rb_singleton_class_attached(VALUE klass, VALUE obj) if (!RCLASS_IV_TBL(klass)) { RCLASS_IV_TBL(klass) = st_init_numtable(); } - rb_st_insert_id_and_value(klass, id_attached, obj); + rb_class_ivar_set(klass, id_attached, obj); } } |