diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-01 04:30:19 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-01 04:30:19 +0000 |
| commit | 3ae6c60d1fe8a7dcda7e114705f71ac1112d1397 (patch) | |
| tree | 339f523964f7af8c0c8cd90acb06d38486ec5dbf /include/ruby/ruby.h | |
| parent | 0ea59438e38c26624d097081625236a2e19d7442 (diff) | |
| download | ruby-3ae6c60d1fe8a7dcda7e114705f71ac1112d1397.tar.gz ruby-3ae6c60d1fe8a7dcda7e114705f71ac1112d1397.tar.xz ruby-3ae6c60d1fe8a7dcda7e114705f71ac1112d1397.zip | |
* 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
Diffstat (limited to 'include/ruby/ruby.h')
| -rw-r--r-- | include/ruby/ruby.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
