Feature #5895

rb_iter_break_value

Added by Nobuyoshi Nakada over 3 years ago. Updated about 3 years ago.

[ruby-dev:45131]
Status:Closed
Priority:Normal
Assignee:Nobuyoshi Nakada

Description

=begin
Rubyレベルではbreakで値を返すことができますが、Cレベルでは今のところ方法がありません。

(({void rb_iter_break_value(VALUE)}))というインターフェースを提案します。
=end

iter_break.diff Magnifier (2.93 KB) Nobuyoshi Nakada, 01/14/2012 11:42 PM

Associated revisions

Revision 34369
Added by Nobuyoshi Nakada about 3 years ago

  • vm.c (rb_iter_break_value): new function to break a block with the value. [Feature #5895]

Revision 34369
Added by Nobuyoshi Nakada about 3 years ago

  • vm.c (rb_iter_break_value): new function to break a block with the value. [Feature #5895]

History

#1 Updated by Nobuyoshi Nakada over 3 years ago

=begin
=end

#2 Updated by Nobuyoshi Nakada over 3 years ago

  • Category set to core
  • Assignee set to Yukihiro Matsumoto
  • Target version set to 2.0.0

#3 Updated by Yukihiro Matsumoto about 3 years ago

  • Status changed from Open to Assigned
  • Assignee changed from Yukihiro Matsumoto to Nobuyoshi Nakada

Please check in.

#4 Updated by Nobuyoshi Nakada about 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r34369.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • vm.c (rb_iter_break_value): new function to break a block with the value. [Feature #5895]

Also available in: Atom PDF