mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
Refactor rb_shape_transition_frozen
to return a shape_id
.
This commit is contained in:
parent
31d0a5815c
commit
f82523f14b
Notes:
git
2025-05-09 08:23:10 +00:00
4 changed files with 21 additions and 21 deletions
2
shape.h
2
shape.h
|
@ -165,7 +165,7 @@ bool rb_shape_id_too_complex_p(shape_id_t shape_id);
|
|||
void rb_shape_set_shape(VALUE obj, rb_shape_t *shape);
|
||||
rb_shape_t *rb_shape_get_shape(VALUE obj);
|
||||
bool rb_shape_frozen_shape_p(rb_shape_t *shape);
|
||||
rb_shape_t *rb_shape_transition_shape_frozen(VALUE obj);
|
||||
shape_id_t rb_shape_transition_frozen(VALUE obj);
|
||||
rb_shape_t *rb_shape_transition_shape_too_complex(VALUE obj);
|
||||
bool rb_shape_transition_shape_remove_ivar(VALUE obj, ID id, rb_shape_t *shape, VALUE *removed);
|
||||
rb_shape_t *rb_shape_get_next(rb_shape_t *shape, VALUE obj, ID id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue