From 089dd1a1ca85e172df435be82b5a5f0265ae7df4 Mon Sep 17 00:00:00 2001 From: eregon Date: Mon, 17 Jun 2013 08:44:56 +0000 Subject: * 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 --- ChangeLog | 7 +++++++ ext/objspace/objspace.c | 7 ++++++- gc.c | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 49a853672a..ce29d341b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Jun 17 17:44:31 2013 Benoit Daloze + + * 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 * gc.c: fix example of ObjectSpace.define_finalizer in overview diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 5fcd95b954..0bdd626705 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -771,7 +771,12 @@ reachable_objects_from(VALUE self, VALUE obj) 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. * diff --git a/gc.c b/gc.c index dcb956ac0d..c9db573406 100644 --- a/gc.c +++ b/gc.c @@ -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 * that interact with the garbage collection facility and allow you to -- cgit v1.2.3