ruby-changes:38241
From: ko1 <ko1@a...>
Date: Wed, 15 Apr 2015 18:44:51 +0900 (JST)
Subject: [ruby-changes:38241] ko1:r50322 (trunk): * vm_trace.c (rb_tracepoint_new): fix documentation.
ko1 2015-04-15 18:44:38 +0900 (Wed, 15 Apr 2015) New Revision: 50322 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50322 Log: * vm_trace.c (rb_tracepoint_new): fix documentation. Commented by @emilsoman. Modified files: trunk/ChangeLog trunk/vm_trace.c Index: ChangeLog =================================================================== --- ChangeLog (revision 50321) +++ ChangeLog (revision 50322) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Apr 15 18:43:43 2015 Koichi Sasada <ko1@a...> + + * vm_trace.c (rb_tracepoint_new): fix documentation. + Commented by @emilsoman. + Wed Apr 15 17:36:51 2015 Koichi Sasada <ko1@a...> * vm_trace.c (rb_tracepoint_new): Add documentation for Index: vm_trace.c =================================================================== --- vm_trace.c (revision 50321) +++ vm_trace.c (revision 50322) @@ -1191,7 +1191,7 @@ tracepoint_new(VALUE klass, rb_thread_t https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1191 * It is important to note that you cannot register callbacks for normal events and internal events * simultaneously because they are different purpose. * You can use any Ruby APIs (calling methods and so on) on normal event hooks. - * However, you can not use any Ruby APIs (even object creations). + * However, in internal events, you can not use any Ruby APIs (even object creations). * This is why we can't specify internal events by TracePoint directly. * Limitations are MRI version specific. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/