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

add static modifier to rb_ary_aref2 func

This commit is contained in:
S-H-GAMELINKS 2020-05-19 13:09:26 +09:00 committed by Nobuyoshi Nakada
parent 79292b3088
commit 1f063abb4c
Notes: git 2020-05-19 15:23:18 +09:00

View file

@ -1685,7 +1685,7 @@ rb_ary_aref(int argc, const VALUE *argv, VALUE ary)
return rb_ary_aref1(ary, argv[0]);
}
VALUE
static VALUE
rb_ary_aref2(VALUE ary, VALUE b, VALUE e)
{
long beg = NUM2LONG(b);