diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-05-27 13:53:14 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-05-27 15:34:02 +0200 |
| commit | 925dec8d703fca9078a5c553f40dfb370162ef49 (patch) | |
| tree | d6f8f887fca8b3785b1ac7ac9701f346bb6378f1 /object.c | |
| parent | ccf2b7c5b89ba4b40f9ed4b9eef95d7bd4867538 (diff) | |
Rename `rb_shape_set_shape_id` in `rb_obj_set_shape_id`
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13450
Diffstat (limited to 'object.c')
| -rw-r--r-- | object.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -362,7 +362,7 @@ rb_obj_copy_ivar(VALUE dest, VALUE obj) } rb_shape_copy_fields(dest, dest_buf, dest_shape_id, obj, src_buf, src_shape_id); - rb_shape_set_shape_id(dest, dest_shape_id); + rb_obj_set_shape_id(dest, dest_shape_id); } static void @@ -500,7 +500,7 @@ rb_obj_clone_setup(VALUE obj, VALUE clone, VALUE kwfreeze) rb_evict_ivars_to_hash(clone); } else { - rb_shape_set_shape_id(clone, next_shape_id); + rb_obj_set_shape_id(clone, next_shape_id); } } break; @@ -524,7 +524,7 @@ rb_obj_clone_setup(VALUE obj, VALUE clone, VALUE kwfreeze) rb_evict_ivars_to_hash(clone); } else { - rb_shape_set_shape_id(clone, next_shape_id); + rb_obj_set_shape_id(clone, next_shape_id); } break; } |
