add static modifer for rb_hash_fetch_values func

This commit is contained in:
S-H-GAMELINKS 2020-05-20 20:27:47 +09:00 committed by Koichi Sasada
parent 2480ef904c
commit ff58cbce94
Notes: git 2020-05-20 23:23:17 +09:00

2
hash.c
View File

@ -2763,7 +2763,7 @@ rb_hash_values_at(int argc, VALUE *argv, VALUE hash)
* h.fetch_values("cow", "bird") { |k| k.upcase } #=> ["bovine", "BIRD"] * h.fetch_values("cow", "bird") { |k| k.upcase } #=> ["bovine", "BIRD"]
*/ */
VALUE static VALUE
rb_hash_fetch_values(int argc, VALUE *argv, VALUE hash) rb_hash_fetch_values(int argc, VALUE *argv, VALUE hash)
{ {
VALUE result = rb_ary_new2(argc); VALUE result = rb_ary_new2(argc);