diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-29 11:57:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-29 11:57:14 +0000 |
commit | c463366dfd75056885028a95e8e2fc6e135d9194 (patch) | |
tree | 684f70d3ecfe562d0a3c48d29c69309f7ac92748 /complex.c | |
parent | 26de0b131e57952d29664de4453e2f04ec3df2bc (diff) | |
download | ruby-c463366dfd75056885028a95e8e2fc6e135d9194.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 'complex.c')
-rw-r--r-- | complex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } /* |