ruby-changes:67226
From: Nobuyoshi <ko1@a...>
Date: Tue, 24 Aug 2021 10:38:00 +0900 (JST)
Subject: [ruby-changes:67226] 5d99800d01 (master): Moved rb_int_positive_pow declaration [Feature #18051]
https://git.ruby-lang.org/ruby.git/commit/?id=5d99800d01 From 5d99800d01936a521f129b4aafc533468675df48 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 28 Jul 2021 19:09:38 +0900 Subject: Moved rb_int_positive_pow declaration [Feature #18051] --- include/ruby/internal/intern/numeric.h | 1 + internal/numeric.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ruby/internal/intern/numeric.h b/include/ruby/internal/intern/numeric.h index effc583..d79e4b3 100644 --- a/include/ruby/internal/intern/numeric.h +++ b/include/ruby/internal/intern/numeric.h @@ -36,6 +36,7 @@ VALUE rb_num_coerce_bit(VALUE, VALUE, ID); https://github.com/ruby/ruby/blob/trunk/include/ruby/internal/intern/numeric.h#L36 VALUE rb_num2fix(VALUE); VALUE rb_fix2str(VALUE, int); CONSTFUNC(VALUE rb_dbl_cmp(double, double)); +RUBY_EXTERN VALUE rb_int_positive_pow(long x, unsigned long y); RBIMPL_SYMBOL_EXPORT_END() diff --git a/internal/numeric.h b/internal/numeric.h index 82ba4c1..1685415 100644 --- a/internal/numeric.h +++ b/internal/numeric.h @@ -97,7 +97,6 @@ static inline bool FLOAT_ZERO_P(VALUE num); https://github.com/ruby/ruby/blob/trunk/internal/numeric.h#L97 RUBY_SYMBOL_EXPORT_BEGIN /* numeric.c (export) */ -VALUE rb_int_positive_pow(long x, unsigned long y); RUBY_SYMBOL_EXPORT_END MJIT_SYMBOL_EXPORT_BEGIN -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/