diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-26 23:25:21 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-26 23:25:21 +0000 |
commit | d187f4bc215119469c3da6828ef78f216dfe20f2 (patch) | |
tree | 76740f631a2fa05420269f9bd17481eb18ea9831 /include/ruby | |
parent | a916278900dcd0db090db11d50e082e941968b9f (diff) | |
download | ruby-d187f4bc215119469c3da6828ef78f216dfe20f2.tar.gz |
* 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 'include/ruby')
-rw-r--r-- | include/ruby/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ruby/debug.h b/include/ruby/debug.h index 9b153c1377..631be79d76 100644 --- a/include/ruby/debug.h +++ b/include/ruby/debug.h @@ -52,8 +52,8 @@ VALUE rb_tracepoint_disable(VALUE tpval); VALUE rb_tracepoint_enabled_p(VALUE tpval); VALUE rb_tracepoint_attr_event(VALUE tpval); -VALUE rb_tracepoint_attr_line(VALUE tpval); -VALUE rb_tracepoint_attr_file(VALUE tpval); +VALUE rb_tracepoint_attr_lineno(VALUE tpval); +VALUE rb_tracepoint_attr_path(VALUE tpval); VALUE rb_tracepoint_attr_id(VALUE tpval); VALUE rb_tracepoint_attr_klass(VALUE tpval); VALUE rb_tracepoint_attr_binding(VALUE tpval); |