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

ruby-changes:31534

From: nari <ko1@a...>
Date: Sat, 9 Nov 2013 21:00:10 +0900 (JST)
Subject: [ruby-changes:31534] nari:r43613 (trunk): * ext/objspace/object_tracing.c: use declarations in internal.h.

nari	2013-11-09 21:00:04 +0900 (Sat, 09 Nov 2013)

  New Revision: 43613

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

  Log:
    * ext/objspace/object_tracing.c: use declarations in internal.h.
    
    * ext/objspace/objspace.c: ditto

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/object_tracing.c
    trunk/ext/objspace/objspace.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43612)
+++ ChangeLog	(revision 43613)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov  9 20:56:12 2013  Narihiro Nakamura  <authornari@g...>
+
+	* ext/objspace/object_tracing.c: use declarations in internal.h.
+
+	* ext/objspace/objspace.c: ditto
+
 Sat Nov  9 20:32:59 2013  Tanaka Akira  <akr@f...>
 
 	* test/objspace/test_objspace.rb (test_dump_all): Make the test string
Index: ext/objspace/objspace.c
===================================================================
--- ext/objspace/objspace.c	(revision 43612)
+++ ext/objspace/objspace.c	(revision 43613)
@@ -20,8 +20,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L20
 #include "gc.h"
 #include "internal.h"
 
-size_t rb_obj_memsize_of(VALUE);
-
 /*
  *  call-seq:
  *    ObjectSpace.memsize_of(obj) -> Integer
Index: ext/objspace/object_tracing.c
===================================================================
--- ext/objspace/object_tracing.c	(revision 43612)
+++ ext/objspace/object_tracing.c	(revision 43613)
@@ -16,8 +16,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/objspace/object_tracing.c#L16
 #include "ruby/ruby.h"
 #include "ruby/debug.h"
 #include "objspace.h"
-
-size_t rb_gc_count(void); /* from gc.c */
+#include "internal.h"
 
 struct traceobj_arg {
     int running;

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

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