diff options
-rw-r--r-- | README.EXT | 11 | ||||
-rw-r--r-- | README.EXT.ja | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT index a5e48a2a9d..c57dba0bb7 100644 --- a/README.EXT +++ b/README.EXT @@ -1271,6 +1271,17 @@ Continues the exception caught by rb_protect() and rb_eval_string_protect(). state must be the returned value from those functions. This function never return to the caller. + void rb_iter_break() + +Exits from the current innermost block. This function never return to +the caller. + + void rb_iter_break_value(VALUE value) + +Exits from the current innermost block with the value. The block will +return the given argument value. This function never return to the +caller. + ** Exceptions and Errors void rb_warn(const char *fmt, ...) diff --git a/README.EXT.ja b/README.EXT.ja index 6278a53c4e..d1ec3d8806 100644 --- a/README.EXT.ja +++ b/README.EXT.ja @@ -1345,6 +1345,16 @@ void rb_jump_tag(int state) 送する.stateはそれらの関数から返された値でなければならない. この関数は直接の呼び出し元に戻らない. +void rb_iter_break() + + 現在の最も内側のブロックを終了する.この関数は直接の呼び出 + し元に戻らない. + +void rb_iter_break_value(VALUE value) + + 現在の最も内側のブロックをvalueで終了する.ブロックは引数で + 与えられたvalueを返す.この関数は直接の呼び出し元に戻らない. + ** 例外・エラー void rb_warning(const char *fmt, ...) |