aboutsummaryrefslogtreecommitdiffstats
path: root/method.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-30 18:30:42 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-30 18:30:42 +0000
commit54aebe6785ef1c83380584b5c05610d555a4d4a9 (patch)
tree2b3662a472c6a1a4f8d5ef2077eeac8fe82bfa7a /method.h
parenta6290ae0fee1df2bd61f2dec1847f0ed18a95ea7 (diff)
downloadruby-54aebe6785ef1c83380584b5c05610d555a4d4a9.tar.gz
* method.h, vm_method.c (rb_free_method_entry): constify a parameter.
* vm_method.c (rb_unlink_method_entry): constify a parameter. * vm_core.h: remove useless declaration about rb_unlink_method_entry(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index 3ddd633c8e..db5eafd8f4 100644
--- a/method.h
+++ b/method.h
@@ -140,7 +140,7 @@ VALUE rb_mod_method_location(VALUE mod, ID id);
VALUE rb_obj_method_location(VALUE obj, ID id);
void rb_mark_method_entry(const rb_method_entry_t *me);
-void rb_free_method_entry(rb_method_entry_t *me);
+void rb_free_method_entry(const rb_method_entry_t *me);
void rb_sweep_method_entry(void *vm);
#endif /* METHOD_H */