summaryrefslogtreecommitdiff
path: root/internal/class.h
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2021-01-26 16:12:29 +0000
committerAaron Patterson <aaron.patterson@gmail.com>2021-02-01 08:42:54 -0800
commit6edd4256744c5ee6a73af660cb2bcb63ca94b254 (patch)
tree9c5a5684e8162ab91feaf96522104d14db491919 /internal/class.h
parent49950266be32ae09ee6a17539c4412f032995fc6 (diff)
Add PARENT_MODULE_SUBCLASSES Macro
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4124
Diffstat (limited to 'internal/class.h')
-rw-r--r--internal/class.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/class.h b/internal/class.h
index da1df196be..1697ae1276 100644
--- a/internal/class.h
+++ b/internal/class.h
@@ -93,6 +93,7 @@ typedef struct rb_classext_struct rb_classext_t;
#endif
#define RCLASS_INCLUDER(c) (RCLASS_EXT(c)->includer)
#define RCLASS_PARENT_SUBCLASSES(c) (RCLASS_EXT(c)->parent_subclasses)
+#define RCLASS_MODULE_SUBCLASSES(c) (RCLASS_EXT(c)->module_subclasses)
#define RICLASS_IS_ORIGIN FL_USER5
#define RCLASS_CLONED FL_USER6