1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
ktsj 62bd8db198 * include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
new function to invoke a method with a block passed
  as an argument.

* string.c (sym_call): use the above function to avoid
  a block sharing. [ruby-dev:47438] [Bug #8531]

* vm_insnhelper.c (vm_yield_with_cfunc): don't set block
  in the frame.

* test/ruby/test_symbol.rb (TestSymbol#test_block_given_to_proc):
  run related tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-17 12:47:26 +00:00
..
backward
debug.h * include/ruby/ruby.h, gc.c, vm_trace.c: add internal events. 2013-05-27 00:21:02 +00:00
defines.h configure.in: setjmpex 2013-05-18 16:40:10 +00:00
encoding.h
intern.h * include/ruby/intern.h, proc.c (rb_method_call_with_block): 2013-06-17 12:38:52 +00:00
io.h
missing.h
oniguruma.h
re.h
regex.h
ruby.h * include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block): 2013-06-17 12:47:26 +00:00
st.h * benchmark/bm_hash_shift.rb: add benchmark for Hash#shift 2013-04-25 05:03:30 +00:00
subst.h
thread.h
util.h
version.h
vm.h
win32.h iphlpapi is unavailable with older VC 2013-05-14 08:24:58 +00:00