diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-20 13:28:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-20 13:28:18 +0000 |
commit | 0e3bc04895d6ab57cb072b7916ef44da38834415 (patch) | |
tree | b8d8894e8a76bb8d5c4c8350840ebe3294735597 /vm_core.h | |
parent | c032557a66a6d37670850a8352768de8e4199e9f (diff) | |
download | ruby-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 *)); |