ruby-changes:29302
From: eregon <ko1@a...>
Date: Mon, 17 Jun 2013 17:45:45 +0900 (JST)
Subject: [ruby-changes:29302] eregon:r41354 (trunk): * gc.c (ObjectSpace): is a module not a class.
eregon 2013-06-17 17:44:56 +0900 (Mon, 17 Jun 2013) New Revision: 41354 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41354 Log: * gc.c (ObjectSpace): is a module not a class. * ext/objspace/objspace.c: try to include overview in rdoc, see #8537. Modified files: trunk/ChangeLog trunk/ext/objspace/objspace.c trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 41353) +++ ChangeLog (revision 41354) @@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon Jun 17 17:44:31 2013 Benoit Daloze <eregontp@g...> + + * gc.c (ObjectSpace): is a module not a class. + + * ext/objspace/objspace.c: try to include overview in rdoc, + see #8537. + Mon Jun 17 17:38:24 2013 Benoit Daloze <eregontp@g...> * gc.c: fix example of ObjectSpace.define_finalizer in overview Index: gc.c =================================================================== --- gc.c (revision 41353) +++ gc.c (revision 41354) @@ -5339,7 +5339,7 @@ rb_gcdebug_sentinel(VALUE obj, const cha https://github.com/ruby/ruby/blob/trunk/gc.c#L5339 /* - * Document-class: ObjectSpace + * Document-module: ObjectSpace * * The ObjectSpace module contains a number of routines * that interact with the garbage collection facility and allow you to Index: ext/objspace/objspace.c =================================================================== --- ext/objspace/objspace.c (revision 41353) +++ ext/objspace/objspace.c (revision 41354) @@ -771,7 +771,12 @@ reachable_objects_from(VALUE self, VALUE https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L771 void Init_object_tracing(VALUE rb_mObjSpace); void Init_gc_hook(VALUE rb_mObjSpace); -/* The objspace library extends the ObjectSpace module and adds several +/* + * Document-module: ObjectSpace + * + * == The objspace library + * + * The objspace library extends the ObjectSpace module and adds several * methods to get internal statistic information about * object/memory management. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/