summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJean Boussier <byroot@ruby-lang.org>2023-02-15 10:42:52 +0100
committerJean Boussier <jean.boussier@gmail.com>2023-02-15 15:24:22 +0100
commit7413079dae81e46aefc948cd8872497567945791 (patch)
tree31c1118b1bd5d751940571505ff5db1058d612e4 /ext
parentbac4d2eefa079168968841079727fe2289b6ab6e (diff)
downloadruby-7413079dae81e46aefc948cd8872497567945791.tar.gz
Encapsulate RCLASS_ATTACHED_OBJECT
Right now the attached object is stored as an instance variable and all the call sites that either get or set it have to know how it's stored. It's preferable to hide this implementation detail behind accessors so that it is easier to change how it's stored.
Diffstat (limited to 'ext')
-rw-r--r--ext/objspace/depend2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/objspace/depend b/ext/objspace/depend
index d9c0a8a050..08d301c669 100644
--- a/ext/objspace/depend
+++ b/ext/objspace/depend
@@ -342,6 +342,7 @@ objspace.o: $(hdrdir)/ruby/regex.h
objspace.o: $(hdrdir)/ruby/ruby.h
objspace.o: $(hdrdir)/ruby/st.h
objspace.o: $(hdrdir)/ruby/subst.h
+objspace.o: $(top_srcdir)/constant.h
objspace.o: $(top_srcdir)/id_table.h
objspace.o: $(top_srcdir)/internal.h
objspace.o: $(top_srcdir)/internal/array.h
@@ -353,6 +354,7 @@ objspace.o: $(top_srcdir)/internal/imemo.h
objspace.o: $(top_srcdir)/internal/sanitizers.h
objspace.o: $(top_srcdir)/internal/serial.h
objspace.o: $(top_srcdir)/internal/static_assert.h
+objspace.o: $(top_srcdir)/internal/variable.h
objspace.o: $(top_srcdir)/internal/warnings.h
objspace.o: $(top_srcdir)/node.h
objspace.o: $(top_srcdir)/shape.h