ruby-changes:65703
From: Samuel <ko1@a...>
Date: Tue, 30 Mar 2021 14:38:59 +0900 (JST)
Subject: [ruby-changes:65703] c05dd7dc85 (master): Prefer `rb_check_funcall`.
https://git.ruby-lang.org/ruby.git/commit/?id=c05dd7dc85 From c05dd7dc85311d1a62204aff5f633e758efae949 Mon Sep 17 00:00:00 2001 From: Samuel Williams <samuel.williams@o...> Date: Thu, 11 Feb 2021 21:55:31 +1300 Subject: Prefer `rb_check_funcall`. --- scheduler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler.c b/scheduler.c index 3403eb1..055c5d4 100644 --- a/scheduler.c +++ b/scheduler.c @@ -113,7 +113,7 @@ rb_fiber_scheduler_make_timeout(struct timeval *timeout) https://github.com/ruby/ruby/blob/trunk/scheduler.c#L113 VALUE 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 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/