summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-20 04:03:11 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-20 04:03:11 +0000
commit53bd4502d830d5aafae5deb9278a3ec10c9fb093 (patch)
tree44f9fd517cd718d220c14fa181502fd524dd657b /eval.c
parent3453070fbc7e1d4294b6248ceebe22b7577d63dd (diff)
* include/ruby/intern.h (rb_obj_call_init, rb_class_new_instance):
constify a parameter (VALUE *). I believe this incompatibility doesn't break any code. However, if you have trouble, please tell us. * eval.c, object.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 475f0df..e4c053c 100644
--- a/eval.c
+++ b/eval.c
@@ -1330,7 +1330,7 @@ mod_using(VALUE self, VALUE module)
}
void
-rb_obj_call_init(VALUE obj, int argc, VALUE *argv)
+rb_obj_call_init(VALUE obj, int argc, const VALUE *argv)
{
PASS_PASSED_BLOCK();
rb_funcall2(obj, idInitialize, argc, argv);