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

add static modifier for rb_hash_keep_if func

This commit is contained in:
S-H-GAMELINKS 2020-05-22 03:15:42 +09:00 committed by Koichi Sasada
parent e5354de9f4
commit d707c92a35
Notes: git 2020-05-22 11:51:56 +09:00

2
hash.c
View file

@ -2881,7 +2881,7 @@ rb_hash_select_bang(VALUE hash)
* See also Hash#select!.
*/
VALUE
static VALUE
rb_hash_keep_if(VALUE hash)
{
RETURN_SIZED_ENUMERATOR(hash, 0, 0, hash_enum_size);