Project

General

Profile

Actions

Feature #5895

closed

rb_iter_break_value

Added by nobu (Nobuyoshi Nakada) almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
[ruby-dev:45131]

Description

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

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


Files

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

Updated by nobu (Nobuyoshi Nakada) almost 13 years ago

  • Category set to core
  • Assignee set to matz (Yukihiro Matsumoto)
  • Target version set to 2.0.0

Updated by matz (Yukihiro Matsumoto) almost 13 years ago

  • Status changed from Open to Assigned
  • Assignee changed from matz (Yukihiro Matsumoto) to nobu (Nobuyoshi Nakada)

Please check in.

Actions #4

Updated by nobu (Nobuyoshi Nakada) almost 13 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. [ruby-dev:45132] [Feature #5895]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0