From 765b9e962f56a570c832b60511633f0d6678928c Mon Sep 17 00:00:00 2001 From: zzak Date: Tue, 18 Jun 2013 11:21:38 +0000 Subject: * ext/objspace/objspace.c: rdoc on require to overview from r41355 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ext/objspace/objspace.c | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index d25ac19578..611cb8e909 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Tue Jun 18 20:20:27 2013 Zachary Scott + + * ext/objspace/objspace.c: rdoc on require to overview from r41355 + Tue Jun 18 18:39:58 2013 Tanaka Akira * configure.in: Check __int128. diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 2e51a3a6e5..6808352852 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -155,7 +155,6 @@ memsize_of(VALUE obj) * T_DATA may not be correct. * * This method is not expected to work except C Ruby. - * You need to require 'objspace' to use this method. */ static VALUE @@ -222,7 +221,6 @@ total_i(void *vstart, void *vend, size_t stride, void *ptr) * end * * This method is not expected to work except C Ruby. - * You need to require 'objspace' to use this method. */ static VALUE @@ -319,7 +317,6 @@ type2sym(enum ruby_value_type i) * It may be changed in future. * * This method is not expected to work except C Ruby. - * You need to require 'objspace' to use this method. */ static VALUE @@ -395,7 +392,6 @@ cn_i(void *vstart, void *vend, size_t stride, void *n) * It may be changed in future. * * This method is not expected to work except C Ruby. - * You need to require 'objspace' to use this method. */ static VALUE @@ -604,7 +600,6 @@ cto_i(void *vstart, void *vend, size_t stride, void *data) * name, registered by rb_data_type_struct. * * This method is not expected to work except C Ruby. - * You need to require 'objspace' to use this method. */ static VALUE @@ -732,7 +727,6 @@ collect_values(st_data_t key, st_data_t value, st_data_t data) * With this method, you can find memory leaks. * * This method is not expected to work except in C Ruby. - * You need to require 'objspace' to use this method. * * Example: * ObjectSpace.reachable_objects_from(['a', 'b', 'c']) @@ -785,6 +779,8 @@ void Init_gc_hook(VALUE rb_mObjSpace); * methods to get internal statistic information about * object/memory management. * + * You need to require 'objspace' to use this extension module. + * * Generally, you *SHOULD NOT* use this library if you do not know * about the MRI implementation. Mainly, this library is for (memory) * profiler developers and MRI developers who need to know about MRI -- cgit v1.2.3