summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2020-08-17 13:51:23 +0900
committer卜部昌平 <[email protected]>2020-08-19 14:30:57 +0900
commit6649677eb93a101a5411a942ca1b84b541262537 ()
tree63c8e41c4bcb5ffed7782ca1651b3019796c5276 /internal.h
parente2c2283a80843f6011a3d7665725ff0c5aed27c5 (diff)
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.
Notes: Merged: https://.com/ruby/ruby/pull/3427
-rw-r--r--internal.h3
1 files changed, 3 insertions, 0 deletions
@@ -47,6 +47,9 @@
#undef RHASH_IFNONE
#undef RHASH_SIZE
/* internal/struct.h */
#undef RSTRUCT_LEN
#undef RSTRUCT_PTR