From 4f050367f1452f64ee89a1aea5754c5e87b70393 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 29 Jul 2016 11:57:14 +0000 Subject: 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 --- complex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'complex.c') diff --git a/complex.c b/complex.c index def0758276..7a9c56d667 100644 --- a/complex.c +++ b/complex.c @@ -468,7 +468,7 @@ f_complex_new2(VALUE klass, VALUE x, VALUE y) static VALUE nucomp_f_complex(int argc, VALUE *argv, VALUE klass) { - return rb_funcall2(rb_cComplex, id_convert, argc, argv); + return rb_funcallv(rb_cComplex, id_convert, argc, argv); } #define imp1(n) \ @@ -1582,7 +1582,7 @@ nucomp_rationalize(int argc, VALUE *argv, VALUE self) rb_raise(rb_eRangeError, "can't convert %"PRIsVALUE" into Rational", self); } - return rb_funcall2(dat->real, rb_intern("rationalize"), argc, argv); + return rb_funcallv(dat->real, rb_intern("rationalize"), argc, argv); } /* -- cgit v1.2.3