summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-20 13:28:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-20 13:28:18 +0000
commit0e3bc04895d6ab57cb072b7916ef44da38834415 (patch)
treeb8d8894e8a76bb8d5c4c8350840ebe3294735597 /vm_core.h
parentc032557a66a6d37670850a8352768de8e4199e9f (diff)
downloadruby-0e3bc04895d6ab57cb072b7916ef44da38834415.tar.gz
ruby-0e3bc04895d6ab57cb072b7916ef44da38834415.tar.xz
ruby-0e3bc04895d6ab57cb072b7916ef44da38834415.zip
* 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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
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 *));