From 3ae6c60d1fe8a7dcda7e114705f71ac1112d1397 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 1 Dec 2007 04:30:19 +0000 Subject: * insnhelper.ci (vm_yield_with_cfunc): fix to passing argc on third parameter of IFUNC. [ruby-dev:32329] * enumerator.c: fix to pass exact number of argument. * eval.c (rb_yield_values2): added. * include/ruby/ruby.h: ditto. * bootstraptest/test_knownbug.rb: move a fixed test. * bootstraptest/test_block.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/ruby.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ruby/ruby.h') diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index fd8e9a606..b0b5153b6 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -772,6 +772,7 @@ PRINTF_ARGS(void rb_compile_warn(const char *, int, const char*, ...), 3, 4); VALUE rb_each(VALUE); VALUE rb_yield(VALUE); VALUE rb_yield_values(int n, ...); +VALUE rb_yield_values2(int n, VALUE *argv); VALUE rb_yield_splat(VALUE); int rb_block_given_p(void); void rb_need_block(void); -- cgit