ruby-changes:65218
From: Nobuyoshi <ko1@a...>
Date: Wed, 10 Feb 2021 19:45:28 +0900 (JST)
Subject: [ruby-changes:65218] ef59a781d7 (master): Fixed the signature of find_time_numguess_getter
https://git.ruby-lang.org/ruby.git/commit/?id=ef59a781d7 From ef59a781d7c93c5e1d0b4c8a8b408b8c880c9cc9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 9 Feb 2021 13:21:40 +0900 Subject: Fixed the signature of find_time_numguess_getter --- time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/time.c b/time.c index fc9a8ae..1c93be1 100644 --- a/time.c +++ b/time.c @@ -3008,7 +3008,8 @@ timegm_noleapsecond(struct tm *tm) https://github.com/ruby/ruby/blob/trunk/time.c#L3008 #define DEBUG_FIND_TIME_NUMGUESS_INC find_time_numguess++, static unsigned long long find_time_numguess; -static VALUE find_time_numguess_getter(void) +static VALUE +find_time_numguess_getter(ID name, VALUE *data) { return ULL2NUM(find_time_numguess); } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/