diff options
author | Jean Boussier <[email protected]> | 2025-05-27 13:32:55 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-27 15:34:02 +0200 |
commit | ccf2b7c5b89ba4b40f9ed4b9eef95d7bd4867538 () | |
tree | c9e03b8ab4e05359aeff6b6ccac814505d733366 /shape.h | |
parent | a1f72d23a911d8a1f4c89fbaacee1d8e7b4e90d3 (diff) |
Refactor `rb_shape_too_complex_p` to take a `shape_id_t`.
Notes: Merged: https://.com/ruby/ruby/pull/13450
-rw-r--r-- | shape.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -125,8 +125,7 @@ shape_id_t rb_shape_get_next_iv_shape(shape_id_t shape_id, ID id); bool rb_shape_get_iv_index(shape_id_t shape_id, ID id, attr_index_t *value); bool rb_shape_get_iv_index_with_hint(shape_id_t shape_id, ID id, attr_index_t *value, shape_id_t *shape_id_hint); RUBY_FUNC_EXPORTED bool rb_shape_obj_too_complex_p(VALUE obj); -bool rb_shape_too_complex_p(rb_shape_t *shape); -bool rb_shape_id_too_complex_p(shape_id_t shape_id); bool rb_shape_has_object_id(shape_id_t shape_id); shape_id_t rb_shape_transition_frozen(VALUE obj); |