mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
ROBJECT_IV_INDEX_TBL: convert into an inline function
Former ROBJECT_IV_INDEX_TBL macro included RCLASS_IV_INDEX_TBL, which is not disclosed to extension libraies. The macro was kind of broken. Why not just deprecate it, and convert the internal use into an inline function.
This commit is contained in:
parent
e2c2283a80
commit
6649677eb9
Notes:
git
2020-08-19 14:31:23 +09:00
5 changed files with 55 additions and 5 deletions
|
@ -47,6 +47,9 @@
|
|||
#undef RHASH_IFNONE
|
||||
#undef RHASH_SIZE
|
||||
|
||||
/* internal/object.h */
|
||||
#undef ROBJECT_IV_INDEX_TBL
|
||||
|
||||
/* internal/struct.h */
|
||||
#undef RSTRUCT_LEN
|
||||
#undef RSTRUCT_PTR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue