summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 21:56:40 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 21:59:23 -0800
commit50a709fb9e07f523c8a0649d3039161b77f300ad (patch)
tree5468f7936a980459ffc4fe6351a2993f00fb02e0 /shape.c
parent233ddfac541749a0da80ea27913dc1ef4ea700bb (diff)
downloadruby-50a709fb9e07f523c8a0649d3039161b77f300ad.tar.gz
Resurrect symbols used by ObjectSpace
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shape.c b/shape.c
index 699f7c5f64..01ec0f0604 100644
--- a/shape.c
+++ b/shape.c
@@ -44,7 +44,7 @@ rb_shape_each_shape(each_shape_callback callback, void *data)
}
}
-rb_shape_t*
+RUBY_FUNC_EXPORTED rb_shape_t*
rb_shape_get_shape_by_id(shape_id_t shape_id)
{
RUBY_ASSERT(shape_id != INVALID_SHAPE_ID);
@@ -71,7 +71,7 @@ rb_rclass_shape_id(VALUE obj)
shape_id_t rb_generic_shape_id(VALUE obj);
#endif
-shape_id_t
+RUBY_FUNC_EXPORTED shape_id_t
rb_shape_get_shape_id(VALUE obj)
{
if (RB_SPECIAL_CONST_P(obj)) {
@@ -514,7 +514,7 @@ rb_shape_rebuild_shape(rb_shape_t * initial_shape, rb_shape_t * dest_shape)
return midway_shape;
}
-bool
+RUBY_FUNC_EXPORTED bool
rb_shape_obj_too_complex(VALUE obj)
{
return rb_shape_get_shape_id(obj) == OBJ_TOO_COMPLEX_SHAPE_ID;