summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-26 23:25:21 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-26 23:25:21 +0000
commitd187f4bc215119469c3da6828ef78f216dfe20f2 (patch)
tree76740f631a2fa05420269f9bd17481eb18ea9831 /vm_core.h
parenta916278900dcd0db090db11d50e082e941968b9f (diff)
* vm_trace.c: rename TracePoint#file and TracePoint#line
to TracePoint#path and TracePoint#lineno respectively. They are consistent to RubyVM::Backtrace::Location. * include/ruby/debug.h: ditto. * vm_core.h: ditto. * test/ruby/test_settracefunc.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_core.h b/vm_core.h
index 511e324a29..60f34cdc02 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -909,8 +909,8 @@ typedef struct rb_trace_arg_struct {
int klass_solved;
/* calc from cfp */
- int line;
- VALUE file;
+ int lineno;
+ VALUE path;
} rb_trace_arg_t;
void rb_threadptr_exec_event_hooks(rb_trace_arg_t *trace_arg);
@@ -926,7 +926,7 @@ void rb_threadptr_exec_event_hooks(rb_trace_arg_t *trace_arg);
trace_arg.id = (id_); \
trace_arg.klass = (klass_); \
trace_arg.data = (data_); \
- trace_arg.file = Qundef; \
+ trace_arg.path = Qundef; \
trace_arg.klass_solved = 0; \
rb_threadptr_exec_event_hooks(&trace_arg); \
} \