diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-03 21:16:48 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-03 21:16:48 +0000 |
commit | 9e50cec39b16681f5954651c68c3a7532a58271c (patch) | |
tree | 3722adffba825f408745cd8cf9922b9d8847e914 /include | |
parent | 8bf3ece3340c15cf915fc409416c03dab7c3f2f0 (diff) | |
download | ruby-9e50cec39b16681f5954651c68c3a7532a58271c.tar.gz |
include/ruby/ruby.h (struct RObject): hide iv_index_tbl type
This is an implementation detail and should not be exposed to
C extension users. We may change this to id_table soon; and
id_table should not be exposed as a public API.
It is highly unlikely any existing C extensions require this;
so the risk of breakage is very low. Ideally, all of RObject
could be hidden.
[ruby-core:71306] [Feature #11647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/ruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 52f27a7a68..6486344945 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -903,7 +903,7 @@ struct RObject { struct { long numiv; /* only uses 32-bits */ VALUE *ivptr; - struct st_table *iv_index_tbl; /* shortcut for RCLASS_IV_INDEX_TBL(rb_obj_class(obj)) */ + void *iv_index_tbl; /* shortcut for RCLASS_IV_INDEX_TBL(rb_obj_class(obj)) */ } heap; VALUE ary[ROBJECT_EMBED_LEN_MAX]; } as; |