diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-18 06:16:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-18 06:16:39 +0000 |
commit | e99ee55abcdbd3057f5ef7d4ef6692457815afaa (patch) | |
tree | 11045e400ee148e10afd1a8908da076cea4d1387 /io.c | |
parent | a1660e97f574033cfe7df9e9cc629073af37969c (diff) |
constify parameters
* include/ruby/intern.h: constify `argv` parameters.
* include/ruby/ruby.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6845,7 +6845,7 @@ rb_io_init_copy(VALUE dest, VALUE io) */ VALUE -rb_io_printf(int argc, VALUE *argv, VALUE out) +rb_io_printf(int argc, const VALUE *argv, VALUE out) { rb_io_write(out, rb_f_sprintf(argc, argv)); return Qnil; @@ -6904,7 +6904,7 @@ rb_f_printf(int argc, VALUE *argv) */ VALUE -rb_io_print(int argc, VALUE *argv, VALUE out) +rb_io_print(int argc, const VALUE *argv, VALUE out) { int i; VALUE line; @@ -6952,7 +6952,7 @@ rb_io_print(int argc, VALUE *argv, VALUE out) */ static VALUE -rb_f_print(int argc, VALUE *argv) +rb_f_print(int argc, const VALUE *argv) { rb_io_print(argc, argv, rb_stdout); return Qnil; @@ -7069,7 +7069,7 @@ io_puts_ary(VALUE ary, VALUE out, int recur) */ VALUE -rb_io_puts(int argc, VALUE *argv, VALUE out) +rb_io_puts(int argc, const VALUE *argv, VALUE out) { int i; VALUE line; |