Skip to content

Commit 50a709f

Browse files
committed
Resurrect symbols used by ObjectSpace
1 parent 233ddfa commit 50a709f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ rb_hash_modify_check(VALUE hash)
16071607
rb_check_frozen(hash);
16081608
}
16091609

1610-
struct st_table *
1610+
RUBY_FUNC_EXPORTED struct st_table *
16111611
rb_hash_tbl_raw(VALUE hash, const char *file, int line)
16121612
{
16131613
return ar_force_convert_table(hash, file, line);

shape.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rb_shape_each_shape(each_shape_callback callback, void *data)
4444
}
4545
}
4646

47-
rb_shape_t*
47+
RUBY_FUNC_EXPORTED rb_shape_t*
4848
rb_shape_get_shape_by_id(shape_id_t shape_id)
4949
{
5050
RUBY_ASSERT(shape_id != INVALID_SHAPE_ID);
@@ -71,7 +71,7 @@ rb_rclass_shape_id(VALUE obj)
7171
shape_id_t rb_generic_shape_id(VALUE obj);
7272
#endif
7373

74-
shape_id_t
74+
RUBY_FUNC_EXPORTED shape_id_t
7575
rb_shape_get_shape_id(VALUE obj)
7676
{
7777
if (RB_SPECIAL_CONST_P(obj)) {
@@ -514,7 +514,7 @@ rb_shape_rebuild_shape(rb_shape_t * initial_shape, rb_shape_t * dest_shape)
514514
return midway_shape;
515515
}
516516

517-
bool
517+
RUBY_FUNC_EXPORTED bool
518518
rb_shape_obj_too_complex(VALUE obj)
519519
{
520520
return rb_shape_get_shape_id(obj) == OBJ_TOO_COMPLEX_SHAPE_ID;

0 commit comments

Comments
 (0)