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

ruby-changes:61317

From: S-H-GAMELINKS <ko1@a...>
Date: Fri, 22 May 2020 11:51:51 +0900 (JST)
Subject: [ruby-changes:61317] d707c92a35 (master): add static modifier for rb_hash_keep_if func

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

From d707c92a3592564178a56b3ee998cf658dfb2859 Mon Sep 17 00:00:00 2001
From: S-H-GAMELINKS <gamelinks007@g...>
Date: Fri, 22 May 2020 03:15:42 +0900
Subject: add static modifier for rb_hash_keep_if func


diff --git a/hash.c b/hash.c
index f4fc3dc..ed1c3cb 100644
--- a/hash.c
+++ b/hash.c
@@ -2881,7 +2881,7 @@ rb_hash_select_bang(VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L2881
  *  See also Hash#select!.
  */
 
-VALUE
+static VALUE
 rb_hash_keep_if(VALUE hash)
 {
     RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);
-- 
cgit v0.10.2


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

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