Prefer rb_check_funcall
.
This commit is contained in:
parent
9b9bbaec11
commit
c05dd7dc85
Notes:
git
2021-03-30 14:39:04 +09:00
@ -113,7 +113,7 @@ rb_fiber_scheduler_make_timeout(struct timeval *timeout)
|
|||||||
VALUE
|
VALUE
|
||||||
rb_fiber_scheduler_timeout_raise(VALUE scheduler, VALUE timeout)
|
rb_fiber_scheduler_timeout_raise(VALUE scheduler, VALUE timeout)
|
||||||
{
|
{
|
||||||
return rb_funcall(scheduler, id_timeout_raise, 1, timeout);
|
return rb_check_funcall(scheduler, id_timeout_raise, 1, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user