Get rid of rb_shape_set_shape

This commit is contained in:
Jean Boussier 2025-05-27 12:58:24 +02:00
parent a59835e1d5
commit 97f44ac54e
Notes: git 2025-05-27 13:34:19 +00:00
2 changed files with 0 additions and 7 deletions

View File

@ -930,12 +930,6 @@ rb_shape_get_iv_index(shape_id_t shape_id, ID id, attr_index_t *value)
return true;
}
void
rb_shape_set_shape(VALUE obj, rb_shape_t *shape)
{
rb_shape_set_shape_id(obj, rb_shape_id(shape));
}
int32_t
rb_shape_id_offset(void)
{

View File

@ -130,7 +130,6 @@ bool rb_shape_id_too_complex_p(shape_id_t shape_id);
bool rb_shape_has_object_id(rb_shape_t *shape);
bool rb_shape_id_has_object_id(shape_id_t shape_id);
void rb_shape_set_shape(VALUE obj, rb_shape_t *shape);
shape_id_t rb_shape_transition_frozen(VALUE obj);
shape_id_t rb_shape_transition_complex(VALUE obj);
shape_id_t rb_shape_transition_remove_ivar(VALUE obj, ID id, shape_id_t *removed_shape_id);