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 /constant.h | |
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 'constant.h')
-rw-r--r-- | constant.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/constant.h b/constant.h index 153654604b..77dd696b7e 100644 --- a/constant.h +++ b/constant.h @@ -23,8 +23,8 @@ typedef struct rb_const_entry_struct { const VALUE file; /* should be mark */ } rb_const_entry_t; -VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj); -VALUE rb_mod_public_constant(int argc, VALUE *argv, VALUE obj); +VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj); +VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj); void rb_free_const_table(st_table *tbl); VALUE rb_public_const_get(VALUE klass, ID id); VALUE rb_public_const_get_at(VALUE klass, ID id); |