diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-29 08:02:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-29 08:02:51 +0000 |
commit | 58553ca18487083d8a7f72068545e75788e1c8bc (patch) | |
tree | 71d6302087f732d1aae088ef54159a9f5df4b2fb /vm_eval.c | |
parent | 7566c49068869c222385ffb26bf91b666b3390b1 (diff) |
ruby/ruby.h, enum.c, vm_eval.c: constify argv
* include/ruby/ruby.h (RB_BLOCK_CALL_FUNC_ARGLIST): constify argv.
* enum.c (rb_enum_values_pack): ditto.
* vm_eval.c (rb_block_call, rb_check_block_call): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1122,7 +1122,7 @@ struct iter_method_arg { VALUE obj; ID mid; int argc; - VALUE *argv; + const VALUE *argv; }; static VALUE @@ -1135,7 +1135,7 @@ iterate_method(VALUE obj) } VALUE -rb_block_call(VALUE obj, ID mid, int argc, VALUE * argv, +rb_block_call(VALUE obj, ID mid, int argc, const VALUE * argv, VALUE (*bl_proc) (ANYARGS), VALUE data2) { struct iter_method_arg arg; @@ -1157,7 +1157,7 @@ iterate_check_method(VALUE obj) } VALUE -rb_check_block_call(VALUE obj, ID mid, int argc, VALUE * argv, +rb_check_block_call(VALUE obj, ID mid, int argc, const VALUE *argv, VALUE (*bl_proc) (ANYARGS), VALUE data2) { struct iter_method_arg arg; |