summaryrefslogtreecommitdiff
path: root/README.EXT.ja
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-14 12:47:06 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-14 12:47:06 (GMT)
commit3772335ae6dad3f65ad42cf5986068a4a7293141 (patch)
tree22cfaf3e5905b1c28a86882a8ed3f6215c487854 /README.EXT.ja
parent15e1ff7f2398f03d392fb1aeea355c124dfa4874 (diff)
* README.EXT, README.EXT.ja (rb_protect): add a note when ignoring the caught exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT.ja')
-rw-r--r--README.EXT.ja2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.EXT.ja b/README.EXT.ja
index ce2b304..6278a53 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -1336,6 +1336,8 @@ VALUE rb_protect(VALUE (*func) (VALUE), VALUE arg, int *state)
関数funcをargを引数として実行し, 例外が発生しなければその戻
り値を返す.例外が発生した場合は, *stateに非0をセットして
Qnilを返す.
+ rb_jump_tag()を呼ばずに捕捉した例外を無視する場合には,
+ rb_set_errinfo(Qnil)でエラー情報をクリアしなければならない.
void rb_jump_tag(int state)