summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJean Boussier <byroot@ruby-lang.org>2023-02-15 10:07:06 +0100
committerJean Boussier <jean.boussier@gmail.com>2023-02-15 10:47:22 +0100
commitbac4d2eefa079168968841079727fe2289b6ab6e (patch)
treec85e9256e91b61c35f5e02d9f4907e8fe94ff751 /internal
parent1f936d654ac49dff1a6d55aa079aaf1ebba24042 (diff)
downloadruby-bac4d2eefa079168968841079727fe2289b6ab6e.tar.gz
Check !RCLASS_EXT_EMBEDDED instead of SIZE_POOL_COUNT == 1
It's much more self documenting and consistent
Diffstat (limited to 'internal')
-rw-r--r--internal/class.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/class.h b/internal/class.h
index bdc3bdd236..02a2e38ffe 100644
--- a/internal/class.h
+++ b/internal/class.h
@@ -69,7 +69,7 @@ struct RClass {
struct RBasic basic;
VALUE super;
struct rb_id_table *m_tbl;
-#if SIZE_POOL_COUNT == 1
+#if !RCLASS_EXT_EMBEDDED
struct rb_classext_struct *ptr;
#endif
};