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

ruby-changes:32887

From: normal <ko1@a...>
Date: Sat, 15 Feb 2014 13:23:41 +0900 (JST)
Subject: [ruby-changes:32887] normal:r44966 (trunk): probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id

normal	2014-02-15 13:23:33 +0900 (Sat, 15 Feb 2014)

  New Revision: 44966

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44966

  Log:
    probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
    
    * probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
      I want to experiment with uint32_t ID

  Modified files:
    trunk/ChangeLog
    trunk/probes_helper.h
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 44965)
+++ ChangeLog	(revision 44966)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb 15 13:22:28 2014  Eric Wong  <e@8...>
+
+	* probes_helper.h (RUBY_DTRACE_HOOK): correct type for _id
+
 Sat Feb 15 11:47:47 2014  Tanaka Akira  <akr@f...>
 
 	* bignum.c (rb_big_cmp): Avoid bignum allocation for comparison
Index: probes_helper.h
===================================================================
--- probes_helper.h	(revision 44965)
+++ probes_helper.h	(revision 44966)
@@ -10,7 +10,7 @@ VALUE rb_class_path_no_cache(VALUE _klas https://github.com/ruby/ruby/blob/trunk/probes_helper.h#L10
 do { \
     if (RUBY_DTRACE_##name##_ENABLED()) { \
 	VALUE _klass = (klazz); \
-	VALUE _id = (id); \
+	ID _id = (id); \
 	const char * classname; \
 	const char * methodname; \
 	const char * filename; \

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

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