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 /shape.c | |
parent | ba3b40a9aeb752d1b3e4c87748c977bfd3cf6f2c (diff) |
rename SHAPE_BITS to SHAPE_ID_NUM_BITS
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6737
Diffstat (limited to 'shape.c')
-rw-r--r-- | shape.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -665,7 +665,7 @@ Init_shape(void) rb_define_const(rb_cShape, "SHAPE_T_OBJECT", INT2NUM(SHAPE_T_OBJECT)); rb_define_const(rb_cShape, "SHAPE_IVAR_UNDEF", INT2NUM(SHAPE_IVAR_UNDEF)); rb_define_const(rb_cShape, "SHAPE_FROZEN", INT2NUM(SHAPE_FROZEN)); - rb_define_const(rb_cShape, "SHAPE_BITS", INT2NUM(SHAPE_BITS)); + rb_define_const(rb_cShape, "SHAPE_ID_NUM_BITS", INT2NUM(SHAPE_ID_NUM_BITS)); rb_define_const(rb_cShape, "SHAPE_FLAG_SHIFT", INT2NUM(SHAPE_FLAG_SHIFT)); rb_define_const(rb_cShape, "SPECIAL_CONST_SHAPE_ID", INT2NUM(SPECIAL_CONST_SHAPE_ID)); |