Skip to content

Commit

Permalink
Fix unprefixed leaked symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Aug 28, 2024
1 parent 06356db commit 797a255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,12 @@ rb_gc_rebuild_shape(VALUE obj, size_t size_pool_id)
return (uint32_t)rb_shape_id(new_shape);
}

struct st_table *generic_ivtbl_get(void);
struct st_table *rb_generic_ivtbl_get(void);

struct st_table *
rb_gc_get_generic_ivar_table(void)
{
return generic_ivtbl_get();
return rb_generic_ivtbl_get();
}

struct st_table *
Expand Down
2 changes: 1 addition & 1 deletion variable.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ generic_ivtbl_no_ractor_check(VALUE obj)
}

struct st_table *
generic_ivtbl_get(void)
rb_generic_ivtbl_get(void)
{
return generic_iv_tbl_;
}
Expand Down

0 comments on commit 797a255

Please sign in to comment.