From 6fafbfd63e9f56350e06910bbac70bf7ff0d5df0 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/ruby.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index fd8e9a6064..b0b5153b66 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 v1.2.3