diff options
author | Jean Boussier <[email protected]> | 2025-05-08 18:47:18 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-09 10:22:51 +0200 |
commit | 334ebba2219cba4b8ec1ef69325d3fe517345e47 (patch) | |
tree | e97e98f78faeaa0f4111c30ae3cdabcd7d22ec76 /object.c | |
parent | 9966de11fb349688f12ea16dc4c082269a8fdb42 (diff) |
Rename `rb_shape_get_shape_by_id` -> `RSHAPE`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13283
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -388,12 +388,12 @@ rb_obj_copy_ivar(VALUE dest, VALUE obj) while (src_shape->parent_id != INVALID_SHAPE_ID) { if (src_shape->type == SHAPE_IVAR) { while (dest_shape->edge_name != src_shape->edge_name) { - dest_shape = rb_shape_get_shape_by_id(dest_shape->parent_id); + dest_shape = RSHAPE(dest_shape->parent_id); } RB_OBJ_WRITE(dest, &dest_buf[dest_shape->next_field_index - 1], src_buf[src_shape->next_field_index - 1]); } - src_shape = rb_shape_get_shape_by_id(src_shape->parent_id); + src_shape = RSHAPE(src_shape->parent_id); } } |