aboutsummaryrefslogtreecommitdiffstats
path: root/vm_method.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-29 11:57:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-29 11:57:14 +0000
commit4f050367f1452f64ee89a1aea5754c5e87b70393 (patch)
tree684f70d3ecfe562d0a3c48d29c69309f7ac92748 /vm_method.c
parent15e87e447379d35f424d5dca0dce8d7032fd2e9d (diff)
downloadruby-4f050367f1452f64ee89a1aea5754c5e87b70393.tar.gz
rb_funcallv
* *.c: rename rb_funcall2 to rb_funcallv, except for extensions which are/will be/may be gems. [Fix GH-1406] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c
index acdd976ff9..b5a6f538d0 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -610,7 +610,7 @@ rb_method_entry_make(VALUE klass, ID mid, VALUE defined_class, rb_method_visibil
recv_class = rb_ivar_get((klass), attached); \
hook_id = singleton_##hook; \
} \
- rb_funcall2(recv_class, hook_id, 1, &arg); \
+ rb_funcallv(recv_class, hook_id, 1, &arg); \
} while (0)
static void