add static modifer for rb_hash_fetch_values func
This commit is contained in:
parent
2480ef904c
commit
ff58cbce94
Notes:
git
2020-05-20 23:23:17 +09:00
2
hash.c
2
hash.c
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user