diff options
author | Jean Boussier <[email protected]> | 2023-02-15 10:07:06 +0100 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2023-02-15 10:47:22 +0100 |
commit | bac4d2eefa079168968841079727fe2289b6ab6e (patch) | |
tree | c85e9256e91b61c35f5e02d9f4907e8fe94ff751 /internal/class.h | |
parent | 1f936d654ac49dff1a6d55aa079aaf1ebba24042 (diff) |
Check !RCLASS_EXT_EMBEDDED instead of SIZE_POOL_COUNT == 1
It's much more self documenting and consistent
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7307
Diffstat (limited to 'internal/class.h')
-rw-r--r-- | internal/class.h | 2 |
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 }; |