From ad1b64d35d7ca980a0398f09cff527d7420cd5c1 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 28 Oct 2017 13:22:04 +0000 Subject: `th` -> `ec` for backtrace functions. * vm_backtrace.c: accept `ec` and rename `threadptr` to `ec`. * rb_threadptr_backtrace_object -> rb_ec_backtrace_object * rb_threadptr_backtrace_str_ary -> rb_ec_backtrace_str_ar * rb_threadptr_backtrace_location_ary -> rb_ec_backtrace_location_ary * threadptr_backtrace_to_ary -> ec_backtrace_to_ary * vm_eval.c (adjust_backtrace_in_eval): accepts `ec`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_intern.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eval_intern.h') diff --git a/eval_intern.h b/eval_intern.h index ef82c0fe2d..f6c033e5fb 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -314,9 +314,9 @@ void rb_thread_terminate_all(void); VALUE rb_vm_cbase(void); /* vm_backtrace.c */ -VALUE rb_threadptr_backtrace_object(rb_thread_t *th); -VALUE rb_threadptr_backtrace_str_ary(rb_thread_t *th, long lev, long n); -VALUE rb_threadptr_backtrace_location_ary(rb_thread_t *th, long lev, long n); +VALUE rb_ec_backtrace_object(const rb_execution_context_t *ec); +VALUE rb_ec_backtrace_str_ary(const rb_execution_context_t *ec, long lev, long n); +VALUE rb_ec_backtrace_location_ary(const rb_execution_context_t *ec, long lev, long n); #ifndef CharNext /* defined as CharNext[AW] on Windows. */ # ifdef HAVE_MBLEN -- cgit v1.2.1