diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2022-11-18 10:29:41 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2022-11-18 12:04:10 -0800 |
commit | 6582f34831cc665b2adcf7d475aceb9b918badb6 (patch) | |
tree | 4d7de2ed25e59c6c2d9861003054fabfa7689e32 /ractor_core.h | |
parent | ba3b40a9aeb752d1b3e4c87748c977bfd3cf6f2c (diff) |
rename SHAPE_BITS to SHAPE_ID_NUM_BITS
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6737
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ractor_core.h b/ractor_core.h index 9d4b8387c7..294708fcb8 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -290,7 +290,7 @@ rb_ractor_id(const rb_ractor_t *r) #if RACTOR_CHECK_MODE > 0 uint32_t rb_ractor_current_id(void); // If ractor check mode is enabled, shape bits needs to be smaller -STATIC_ASSERT(shape_bits, SHAPE_BITS == 16); +STATIC_ASSERT(shape_bits, SHAPE_ID_NUM_BITS == 16); static inline void rb_ractor_setup_belonging_to(VALUE obj, uint32_t rid) |