[前][次][番号順一覧][スレッド一覧]

ruby-changes:29328

From: zzak <ko1@a...>
Date: Tue, 18 Jun 2013 20:21:49 +0900 (JST)
Subject: [ruby-changes:29328] zzak:r41380 (trunk): * ext/objspace/objspace.c: rdoc on require to overview from r41355

zzak	2013-06-18 20:21:38 +0900 (Tue, 18 Jun 2013)

  New Revision: 41380

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41380

  Log:
    * ext/objspace/objspace.c: rdoc on require to overview from r41355

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/objspace.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41379)
+++ ChangeLog	(revision 41380)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jun 18 20:20:27 2013  Zachary Scott  <zachary@z...>
+
+	* ext/objspace/objspace.c: rdoc on require to overview from r41355
+
 Tue Jun 18 18:39:58 2013  Tanaka Akira  <akr@f...>
 
 	* configure.in: Check __int128.
Index: ext/objspace/objspace.c
===================================================================
--- ext/objspace/objspace.c	(revision 41379)
+++ ext/objspace/objspace.c	(revision 41380)
@@ -155,7 +155,6 @@ memsize_of(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L155
  *  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 https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L221
  *  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) https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L317
  *  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 st https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L392
  *  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 s https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L600
  *  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 https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L727
  *  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); https://github.com/ruby/ruby/blob/trunk/ext/objspace/objspace.c#L779
  * 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]