diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-08 15:34:40 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-08 15:34:40 +0000 |
commit | a2b448106fc1c6e6f053dbdf40f599a3f1ca97ca (patch) | |
tree | abe874da570ede83e8c458db28c4344e31834caa | |
parent | 3f167b72bdce969f42df0c1488df8018b6f07437 (diff) | |
download | ruby-a2b448106fc1c6e6f053dbdf40f599a3f1ca97ca.tar.gz |
io.c: use rb_funcallv
* io.c (rb_io_write): use rb_funcallv() instead of rb_funcall() to get
rid of unnecessary alloca.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1428,7 +1428,7 @@ io_write_m(VALUE io, VALUE str) VALUE rb_io_write(VALUE io, VALUE str) { - return rb_funcall(io, id_write, 1, str); + return rb_funcallv(io, id_write, 1, &str); } /* |