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

ruby-changes:61301

From: S-H-GAMELINKS <ko1@a...>
Date: Wed, 20 May 2020 23:23:09 +0900 (JST)
Subject: [ruby-changes:61301] ff58cbce94 (master): add static modifer for rb_hash_fetch_values func

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

From ff58cbce94aaa001a262e6a4abc57f85113331be Mon Sep 17 00:00:00 2001
From: S-H-GAMELINKS <gamelinks007@g...>
Date: Wed, 20 May 2020 20:27:47 +0900
Subject: add static modifer for rb_hash_fetch_values func


diff --git a/hash.c b/hash.c
index 5e42b70..79fe433 100644
--- a/hash.c
+++ b/hash.c
@@ -2763,7 +2763,7 @@ rb_hash_values_at(int argc, VALUE *argv, VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L2763
  *   h.fetch_values("cow", "bird") { |k| k.upcase } #=> ["bovine", "BIRD"]
  */
 
-VALUE
+static VALUE
 rb_hash_fetch_values(int argc, VALUE *argv, VALUE hash)
 {
     VALUE result = rb_ary_new2(argc);
-- 
cgit v0.10.2


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

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