aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-15 09:44:38 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-15 09:44:38 +0000
commit3004c29afda80310da014d564d4ae7088c932e5b (patch)
tree357c4e2d2fe7d2546e55c9b4312fdd83d7823398 /vm_trace.c
parent0e7889959191ba74307ef450817833164eddb9f4 (diff)
downloadruby-3004c29afda80310da014d564d4ae7088c932e5b.tar.gz
* vm_trace.c (rb_tracepoint_new): fix documentation.
Commented by @emilsoman. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index a186e0d364..d8df4f248b 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1191,7 +1191,7 @@ tracepoint_new(VALUE klass, rb_thread_t *target_th, rb_event_flag_t events, void
* 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.
*