1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed leaked global symbols

This commit is contained in:
Nobuyoshi Nakada 2020-12-25 23:36:25 +09:00
parent 73cd4951de
commit 292230cbf9
Notes: git 2020-12-26 09:40:25 +09:00
5 changed files with 20 additions and 13 deletions

View file

@ -14,7 +14,7 @@ vm_locked(rb_vm_t *vm)
#if RUBY_DEBUG > 0
void
ASSERT_vm_locking(void)
RUBY_ASSERT_vm_locking(void)
{
if (rb_multi_ractor_p()) {
rb_vm_t *vm = GET_VM();
@ -23,7 +23,7 @@ ASSERT_vm_locking(void)
}
void
ASSERT_vm_unlocking(void)
RUBY_ASSERT_vm_unlocking(void)
{
if (rb_multi_ractor_p()) {
rb_vm_t *vm = GET_VM();