summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-08-17 13:51:23 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-08-19 14:30:57 +0900
commit6649677eb93a101a5411a942ca1b84b541262537 (patch)
tree63c8e41c4bcb5ffed7782ca1651b3019796c5276 /variable.c
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
Notes: Merged: https://github.com/ruby/ruby/pull/3427
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index 4f66ad3e7f..26928ca0bc 100644
--- a/variable.c
+++ b/variable.c
@@ -25,6 +25,7 @@
#include "internal/error.h"
#include "internal/eval.h"
#include "internal/hash.h"
+#include "internal/object.h"
#include "internal/re.h"
#include "internal/symbol.h"
#include "internal/thread.h"