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

ruby-changes:27404

From: zzak <ko1@a...>
Date: Sun, 24 Feb 2013 13:52:22 +0900 (JST)
Subject: [ruby-changes:27404] zzak:r39456 (ruby_2_0_0): * object.c: Document Data class by Matthew Mongeau [Backport #7929]

zzak	2013-02-24 13:52:12 +0900 (Sun, 24 Feb 2013)

  New Revision: 39456

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

  Log:
    * object.c: Document Data class by Matthew Mongeau [Backport #7929]

  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/object.c

Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 39455)
+++ ruby_2_0_0/ChangeLog	(revision 39456)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Wed Feb 20 12:18:00 2013  Zachary Scott  <zachary@z...>
+
+	* object.c: Document Data class by Matthew Mongeau [Backport #7929]
+
 Wed Feb 20 11:50:00 2013  Zachary Scott  <zachary@z...>
 
 	* lib/mutex_m.rb: Add rdoc for Mutex_m module [Backport #7930]
Index: ruby_2_0_0/object.c
===================================================================
--- ruby_2_0_0/object.c	(revision 39455)
+++ ruby_2_0_0/object.c	(revision 39456)
@@ -3132,6 +3132,12 @@ Init_Object(void) https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/object.c#L3132
     rb_undef_method(rb_cClass, "extend_object");
     rb_undef_method(rb_cClass, "append_features");
 
+    /*
+     * Document-class: Data
+     *
+     * This is a recommended base class for C extensions using Data_Make_Struct
+     * or Data_Wrap_Struct, see README.EXT for details.
+     */
     rb_cData = rb_define_class("Data", rb_cObject);
     rb_undef_alloc_func(rb_cData);
 

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

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