[前][次][番号順一覧][スレッド一覧]

ruby-changes:55107

From: nobu <ko1@a...>
Date: Wed, 20 Mar 2019 13:24:47 +0900 (JST)
Subject: [ruby-changes:55107] nobu:r67314 (trunk): vm_trace.c: [DOC] remove the trick [ci skip]

nobu	2019-03-20 13:24:42 +0900 (Wed, 20 Mar 2019)

  New Revision: 67314

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67314

  Log:
    vm_trace.c: [DOC] remove the trick [ci skip]

  Modified files:
    trunk/vm_trace.c
Index: vm_trace.c
===================================================================
--- vm_trace.c	(revision 67313)
+++ vm_trace.c	(revision 67314)
@@ -1782,9 +1782,6 @@ Init_vm_trace(void) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1782
     rb_define_singleton_method(rb_cTracePoint, "trace", tracepoint_trace_s, -1);
 
     rb_define_method(rb_cTracePoint, "__enable", tracepoint_enable_m, 3);
-#if 0 /* trick rdoc, defined in prelude.rb now */
-    rb_define_method(rb_cTracePoint, "enable", tracepoint_enable_m, 3);
-#endif
     rb_define_method(rb_cTracePoint, "disable", tracepoint_disable_m, 0);
     rb_define_method(rb_cTracePoint, "enabled?", rb_tracepoint_enabled_p, 0);
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]