summaryrefslogtreecommitdiff
path: root/README.EXT
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-14 12:47:06 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-14 12:47:06 +0000
commit3772335ae6dad3f65ad42cf5986068a4a7293141 (patch)
tree22cfaf3e5905b1c28a86882a8ed3f6215c487854 /README.EXT
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')
-rw-r--r--README.EXT2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.EXT b/README.EXT
index c8c9342e16..a5e48a2a9d 100644
--- a/README.EXT
+++ b/README.EXT
@@ -1262,6 +1262,8 @@ Calls the function func with arg as the argument. If no exception
occured during func, it returns the result of func and *state is zero.
Otherwise, it returns Qnil and sets *state to nonzero. If state is
NULL, it is not set in both cases.
+You have to clear the error info with rb_set_errinfo(Qnil) when
+ignoring the caught exception.
void rb_jump_tag(int state)