summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-05-27 12:58:24 +0200
committerJean Boussier <[email protected]>2025-05-27 15:34:02 +0200
commit97f44ac54e197bca43b54dd65e116cb9ea22cda0 (patch)
tree332c01aaf47ccbf32a77263bd3fcc60bef64a136 /shape.c
parenta59835e1d53d3fb673978e93417f4080774f905a (diff)
Get rid of rb_shape_set_shape
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13450
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/shape.c b/shape.c
index 608dc71da3..20ff0d305b 100644
--- a/shape.c
+++ b/shape.c
@@ -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)
{