From b4d7d616d9ad8d94df0563f06318c7b9a6a80269 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 4 May 2010 20:25:09 +0000 Subject: * method.h, vm_method.c: rename some internal functions related to rb_method_entry_t. rb_add_method_me() -> rb_method_entry_set(). rb_get_method_entry() -> rb_method_entry_without_cache(). rb_gc_mark_method_entry() -> rb_mark_method_entry(). * class.c, proc.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index be9f393d98..056fce2cdc 100644 --- a/proc.c +++ b/proc.c @@ -1295,7 +1295,7 @@ rb_mod_define_method(int argc, VALUE *argv, VALUE mod) rb_class2name(rclass)); } } - rb_add_method_me(mod, id, &method->me, noex); + rb_method_entry_set(mod, id, &method->me, noex); } else if (rb_obj_is_proc(body)) { rb_proc_t *proc; -- cgit v1.2.3