summaryrefslogtreecommitdiff
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
commit9cf6751f8393dd28294b6ed0c40650f7b4235b20 (patch)
tree2b3662a472c6a1a4f8d5ef2077eeac8fe82bfa7a /method.h
parentcc09968d71b70cc6b4eab7064ed7fc96ec61cd16 (diff)
* 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 */