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

ruby-changes:29051

From: nari <ko1@a...>
Date: Thu, 6 Jun 2013 14:10:41 +0900 (JST)
Subject: [ruby-changes:29051] nari:r41103 (trunk): * ext/objspace/object_tracing.c: allocation_info function isn't

nari	2013-06-06 14:10:31 +0900 (Thu, 06 Jun 2013)

  New Revision: 41103

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

  Log:
    * ext/objspace/object_tracing.c: allocation_info function isn't
      called by any other file.

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/object_tracing.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41102)
+++ ChangeLog	(revision 41103)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun  6 13:57:06 2013  Narihiro Nakamura  <authornari@g...>
+
+	* ext/objspace/object_tracing.c: allocation_info function isn't
+	  called by any other file.
+
 Thu Jun  6 09:41:00 2013  Kenta Murata  <mrkn@c...>
 
 	* numeric.c (num_quo): should return a Float for a Float argument.
Index: ext/objspace/object_tracing.c
===================================================================
--- ext/objspace/object_tracing.c	(revision 41102)
+++ ext/objspace/object_tracing.c	(revision 41103)
@@ -163,7 +163,7 @@ trace_object_allocations(VALUE objspace) https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L163
     return rb_ensure(rb_yield, Qnil, stop_trace_object_allocations, (VALUE)&arg);
 }
 
-struct allocation_info *
+static struct allocation_info *
 allocation_info(VALUE obj)
 {
     if (traceobj_arg) {

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

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