зеркало из https://github.com/github/ruby.git
fix arity mismatch
I missed this in bc3e7924bc
because the
function is inside of a #ifdef.
This commit is contained in:
Родитель
12de92a368
Коммит
f40143fe7c
2
gc.c
2
gc.c
|
@ -11681,7 +11681,7 @@ rb_gcdebug_print_obj_condition(VALUE obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
gcdebug_sentinel(VALUE obj, VALUE name)
|
gcdebug_sentinel(RB_BLOCK_CALL_FUNC_ARGLIST(obj, name))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
|
fprintf(stderr, "WARNING: object %s(%p) is inadvertently collected\n", (char *)name, (void *)obj);
|
||||||
return Qnil;
|
return Qnil;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче