diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 05:57:35 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-29 05:57:35 +0000 |
commit | 479e39619240d7723f0573add301d71125df6933 (patch) | |
tree | 748ed7174937385aaf8b418df2163b7f48426a06 /vm_trace.c | |
parent | 89c889d4e72eb39bb70734d2360b9607c1099bdb (diff) |
* vm_trace.c (rb_tracepoint_attr_method_id):
rename TracePoint#id to TracePoint#method_id.
* include/ruby/debug.h: ditto.
* test/ruby/test_settracefunc.rb: ditto,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_trace.c b/vm_trace.c index 6971f9dd75..2fbc512e89 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -702,7 +702,7 @@ fill_id_and_klass(rb_trace_arg_t *trace_arg) } VALUE -rb_tracepoint_attr_id(VALUE tpval) +rb_tracepoint_attr_method_id(VALUE tpval) { rb_tp_t *tp = tpptr(tpval); tp_attr_check_active(tp); @@ -959,7 +959,7 @@ Init_vm_trace(void) rb_define_method(rb_cTracePoint, "event", rb_tracepoint_attr_event, 0); rb_define_method(rb_cTracePoint, "lineno", rb_tracepoint_attr_lineno, 0); rb_define_method(rb_cTracePoint, "path", rb_tracepoint_attr_path, 0); - rb_define_method(rb_cTracePoint, "id", rb_tracepoint_attr_id, 0); + rb_define_method(rb_cTracePoint, "method_id", rb_tracepoint_attr_method_id, 0); rb_define_method(rb_cTracePoint, "defined_class", rb_tracepoint_attr_defined_class, 0); rb_define_method(rb_cTracePoint, "binding", rb_tracepoint_attr_binding, 0); rb_define_method(rb_cTracePoint, "self", rb_tracepoint_attr_self, 0); |