diff options
author | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 05:13:08 +0000 |
---|---|---|
committer | marcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-10-10 05:13:08 +0000 |
commit | 03d62c6c6160677a2efef652af04c9616d37505c (patch) | |
tree | b3d344e59286476c65ede71010eeb48e59bbfec8 /eval_intern.h | |
parent | f6df24da497bb1dfce77a9b07e16c96944902698 (diff) | |
download | ruby-03d62c6c6160677a2efef652af04c9616d37505c.tar.gz ruby-03d62c6c6160677a2efef652af04c9616d37505c.tar.xz ruby-03d62c6c6160677a2efef652af04c9616d37505c.zip |
* thread.c (rb_threadptr_execute_interrupts_rec, rb_threadptr_raise): Thread#raise with no argument will now re-raise the current exception if there is one [ruby-core:25367]
* eval.c (get_errinfo, rb_rubylevel_thread_errinfo): Getter for current exception for a given thread
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eval_intern.h b/eval_intern.h index b7790828d..c5b1fd8b2 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -212,6 +212,7 @@ void rb_thread_terminate_all(void); VALUE rb_vm_top_self(); VALUE rb_vm_cbase(void); void rb_trap_restore_mask(void); +VALUE rb_rubylevel_thread_errinfo(rb_thread_t *); #ifndef CharNext /* defined as CharNext[AW] on Windows. */ #define CharNext(p) ((p) + mblen(p, RUBY_MBCHAR_MAXSIZE)) |