From 0e3bc04895d6ab57cb072b7916ef44da38834415 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 20 Aug 2008 13:28:18 +0000 Subject: * proc.c (proc_new): use the given class. * vm.c (vm_make_proc): added an argument for the class. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index 2e8462422..fc33302de 100644 --- a/vm_core.h +++ b/vm_core.h @@ -668,7 +668,7 @@ int rb_thread_method_id_and_class(rb_thread_t *th, ID *idp, VALUE *klassp); VALUE vm_invoke_proc(rb_thread_t *th, rb_proc_t *proc, VALUE self, int argc, const VALUE *argv, rb_block_t *blockptr); -VALUE vm_make_proc(rb_thread_t *th, rb_control_frame_t *cfp, const rb_block_t *block); +VALUE vm_make_proc(rb_thread_t *th, rb_control_frame_t *cfp, const rb_block_t *block, VALUE klass); VALUE vm_make_env_object(rb_thread_t *th, rb_control_frame_t *cfp); NOINLINE(void rb_gc_save_machine_context(rb_thread_t *)); -- cgit