1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix dllimport attribute

This commit is contained in:
Nobuyoshi Nakada 2021-08-30 00:51:33 +09:00
parent 806786ff20
commit 9f9ea28375
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -13,7 +13,7 @@ static VALUE integer_spec_rb_integer_pack(VALUE self, VALUE value,
return INT2FIX(result); 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){ static VALUE integer_spec_rb_int_positive_pow(VALUE self, VALUE a, VALUE b){
return rb_int_positive_pow(FIX2INT(a), FIX2INT(b)); return rb_int_positive_pow(FIX2INT(a), FIX2INT(b));