diff options
author | Jean Boussier <[email protected]> | 2025-05-27 09:36:33 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-27 12:45:24 +0200 |
commit | 8b0868cbb106c49d8761536abc408dae0b2e1c1c () | |
tree | bc93847d19f3920dbac8103882db461dcab18bcd /shape.c | |
parent | cd355ac8aabbfd671f4cf6fe17f4ac1e500e49cf (diff) |
Refactor `rb_shape_rebuild_shape` to stop exposing `rb_shape_t`
Notes: Merged: https://.com/ruby/ruby/pull/13448
-rw-r--r-- | shape.c | 53 |
1 files changed, 53 insertions, 0 deletions
@@ -685,6 +685,12 @@ rb_shape_has_object_id(rb_shape_t *shape) return shape->flags & SHAPE_FL_HAS_OBJECT_ID; } shape_id_t rb_shape_transition_object_id(VALUE obj) { @@ -1032,6 +1038,53 @@ rb_shape_rebuild_shape(rb_shape_t *initial_shape, rb_shape_t *dest_shape) return midway_shape; } RUBY_FUNC_EXPORTED bool rb_shape_obj_too_complex_p(VALUE obj) { |