aboutsummaryrefslogtreecommitdiffstats
path: root/README.EXT
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-24 06:28:26 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-24 06:28:26 +0000
commite187c4ca1f5ae20361714507c65281572c88ad19 (patch)
treed75e0bc73c869addcb27c1ed2fae949881913e0b /README.EXT
parent04726dd749f1f93eca39584311e224e2465fca5c (diff)
downloadruby-e187c4ca1f5ae20361714507c65281572c88ad19.tar.gz
* README.EXT, README.EXT.ja: rb_iter_break() and rb_iter_break_value().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r--README.EXT11
1 files changed, 11 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, ...)