ruby-changes:27278
From: zzak <ko1@a...>
Date: Wed, 20 Feb 2013 12:19:13 +0900 (JST)
Subject: [ruby-changes:27278] zzak:r39330 (trunk): * object.c: Document Data class [Bug #7890]
zzak 2013-02-20 12:19:01 +0900 (Wed, 20 Feb 2013) New Revision: 39330 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39330 Log: * object.c: Document Data class [Bug #7890] [ruby-core:52549] Patch by Matthew Mongeau Modified files: trunk/ChangeLog trunk/object.c Index: ChangeLog =================================================================== --- ChangeLog (revision 39329) +++ ChangeLog (revision 39330) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Feb 20 12:18:00 2013 Zachary Scott <zachary@z...> + + * object.c: Document Data class [Bug #7890] [ruby-core:52549] + Patch by Matthew Mongeau + Wed Feb 20 11:50:00 2013 Zachary Scott <zachary@z...> * lib/mutex_m.rb: Add rdoc for Mutex_m module Index: object.c =================================================================== --- object.c (revision 39329) +++ object.c (revision 39330) @@ -3112,6 +3112,12 @@ Init_Object(void) https://github.com/ruby/ruby/blob/trunk/object.c#L3112 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/