diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-20 04:03:11 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-20 04:03:11 +0000 |
commit | 53bd4502d830d5aafae5deb9278a3ec10c9fb093 (patch) | |
tree | 44f9fd517cd718d220c14fa181502fd524dd657b /object.c | |
parent | 3453070fbc7e1d4294b6248ceebe22b7577d63dd (diff) | |
download | ruby-53bd4502d830d5aafae5deb9278a3ec10c9fb093.tar.gz |
* 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 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1840,7 +1840,7 @@ rb_class_allocate_instance(VALUE klass) */ VALUE -rb_class_new_instance(int argc, VALUE *argv, VALUE klass) +rb_class_new_instance(int argc, const VALUE *argv, VALUE klass) { VALUE obj; |