diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-18 11:21:38 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-18 11:21:38 +0000 |
commit | 765b9e962f56a570c832b60511633f0d6678928c (patch) | |
tree | 75b5ac6e937c51bae4143d3c6cc54423c9e6d11e /ext/objspace | |
parent | 1a6a65f16bb8f9f8035dc8d4689ec0b6032047d0 (diff) | |
download | ruby-765b9e962f56a570c832b60511633f0d6678928c.tar.gz |
* 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
Diffstat (limited to 'ext/objspace')
-rw-r--r-- | ext/objspace/objspace.c | 8 |
1 files changed, 2 insertions, 6 deletions
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 <code>require 'objspace'</code> 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 <code>require 'objspace'</code> 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 <code>require 'objspace'</code> 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 <code>require 'objspace'</code> 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 <code>require 'objspace'</code> 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 <code>require 'objspace'</code> 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 <code>require 'objspace'</code> 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 |