1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* gc.c (ObjectSpace): is a module not a class.

* ext/objspace/objspace.c: try to include overview in rdoc,
  see #8537.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eregon 2013-06-17 08:44:56 +00:00
parent abfcded30c
commit 089dd1a1ca
3 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,10 @@
Mon Jun 17 17:44:31 2013 Benoit Daloze <eregontp@gmail.com>
* 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@gmail.com> Mon Jun 17 17:38:24 2013 Benoit Daloze <eregontp@gmail.com>
* gc.c: fix example of ObjectSpace.define_finalizer in overview * gc.c: fix example of ObjectSpace.define_finalizer in overview

View file

@ -771,7 +771,12 @@ reachable_objects_from(VALUE self, VALUE obj)
void Init_object_tracing(VALUE rb_mObjSpace); void Init_object_tracing(VALUE rb_mObjSpace);
void Init_gc_hook(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 * methods to get internal statistic information about
* object/memory management. * object/memory management.
* *

2
gc.c
View file

@ -5339,7 +5339,7 @@ rb_gcdebug_sentinel(VALUE obj, const char *name)
/* /*
* Document-class: ObjectSpace * Document-module: ObjectSpace
* *
* The ObjectSpace module contains a number of routines * The ObjectSpace module contains a number of routines
* that interact with the garbage collection facility and allow you to * that interact with the garbage collection facility and allow you to