diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-10-14 16:59:31 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-10-17 08:18:04 +0900 |
commit | 91ec5f9e39cf54dd7a157addb778293853571f13 (patch) | |
tree | b2d339fba747ceb22dcab3eda91b3ff1ac5f5ae7 /include | |
parent | ff9dc109665e515da8b544a55085bb793063adf1 (diff) |
remove rb_obj_iv_index_tbl
(1) nobody uses it (gem-codesearch)
(2) the data strucuture will be changed.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3662
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/internal/core/robject.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/ruby/internal/core/robject.h b/include/ruby/internal/core/robject.h index e6e946c77d..c352c87a40 100644 --- a/include/ruby/internal/core/robject.h +++ b/include/ruby/internal/core/robject.h @@ -61,10 +61,6 @@ struct RObject { } as; }; -RBIMPL_SYMBOL_EXPORT_BEGIN() -struct st_table *rb_obj_iv_index_tbl(const struct RObject *obj); -RBIMPL_SYMBOL_EXPORT_END() - RBIMPL_ATTR_PURE_UNLESS_DEBUG() RBIMPL_ATTR_ARTIFICIAL() static inline uint32_t @@ -97,17 +93,4 @@ ROBJECT_IVPTR(VALUE obj) } } -RBIMPL_ATTR_DEPRECATED(("Whoever have used it before? Just tell us so. We can stop deleting it.")) -RBIMPL_ATTR_PURE_UNLESS_DEBUG() -RBIMPL_ATTR_ARTIFICIAL() -static inline struct st_table * -ROBJECT_IV_INDEX_TBL(VALUE obj) -{ - RBIMPL_ASSERT_TYPE(obj, RUBY_T_OBJECT); - - struct RObject *const ptr = ROBJECT(obj); - - return rb_obj_iv_index_tbl(ptr); -} - #endif /* RBIMPL_ROBJECT_H */ |