[前][次][番号順一覧][スレッド一覧]

ruby-changes:61295

From: S-H-GAMELINKS <ko1@a...>
Date: Tue, 19 May 2020 15:23:11 +0900 (JST)
Subject: [ruby-changes:61295] 1f063abb4c (master): add static modifier to rb_ary_aref2 func

https://git.ruby-lang.org/ruby.git/commit/?id=1f063abb4c

From 1f063abb4c42acc52e27fed76577c984ad8b7a3a Mon Sep 17 00:00:00 2001
From: S-H-GAMELINKS <gamelinks007@g...>
Date: Tue, 19 May 2020 13:09:26 +0900
Subject: add static modifier to rb_ary_aref2 func


diff --git a/array.c b/array.c
index 262d521..90fad54 100644
--- a/array.c
+++ b/array.c
@@ -1685,7 +1685,7 @@ rb_ary_aref(int argc, const VALUE *argv, VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L1685
     return rb_ary_aref1(ary, argv[0]);
 }
 
-VALUE
+static VALUE
 rb_ary_aref2(VALUE ary, VALUE b, VALUE e)
 {
     long beg = NUM2LONG(b);
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]