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 /internal.h | |
parent | 7566c49068869c222385ffb26bf91b666b3390b1 (diff) | |
download | ruby-58553ca18487083d8a7f72068545e75788e1c8bc.tar.gz |
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 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index 2849f4b4e0..3612a98929 100644 --- a/internal.h +++ b/internal.h @@ -751,7 +751,7 @@ void rb_print_backtrace(void); /* vm_eval.c */ void Init_vm_eval(void); VALUE rb_current_realfilepath(void); -VALUE rb_check_block_call(VALUE, ID, int, VALUE *, rb_block_call_func_t, VALUE); +VALUE rb_check_block_call(VALUE, ID, int, const VALUE *, rb_block_call_func_t, VALUE); typedef void rb_check_funcall_hook(int, VALUE, ID, int, const VALUE *, VALUE); VALUE rb_check_funcall_with_hook(VALUE recv, ID mid, int argc, const VALUE *argv, rb_check_funcall_hook *hook, VALUE arg); |