ruby-changes:67340
From: Nobuyoshi <ko1@a...>
Date: Mon, 30 Aug 2021 00:52:37 +0900 (JST)
Subject: [ruby-changes:67340] 9f9ea28375 (master): Fix dllimport attribute
https://git.ruby-lang.org/ruby.git/commit/?id=9f9ea28375 From 9f9ea283754ddc9b4deb2ba1863c40d28d5acfa9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 30 Aug 2021 00:51:33 +0900 Subject: Fix dllimport attribute --- spec/ruby/optional/capi/ext/integer_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/optional/capi/ext/integer_spec.c b/spec/ruby/optional/capi/ext/integer_spec.c index 5ed1d3f..16cd95f 100644 --- a/spec/ruby/optional/capi/ext/integer_spec.c +++ b/spec/ruby/optional/capi/ext/integer_spec.c @@ -13,7 +13,7 @@ static VALUE integer_spec_rb_integer_pack(VALUE self, VALUE value, https://github.com/ruby/ruby/blob/trunk/spec/ruby/optional/capi/ext/integer_spec.c#L13 return INT2FIX(result); } -VALUE rb_int_positive_pow(long x, unsigned long y); /* internal.h, used in ripper */ +RUBY_EXTERN VALUE rb_int_positive_pow(long x, unsigned long y); /* internal.h, used in ripper */ static VALUE integer_spec_rb_int_positive_pow(VALUE self, VALUE a, VALUE b){ return rb_int_positive_pow(FIX2INT(a), FIX2INT(b)); -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/