mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c: Document Data class [Bug #7890] [ruby-core:52549]
Patch by Matthew Mongeau git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4b81b403eb
commit
c7bb797410
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Feb 20 12:18:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* object.c: Document Data class [Bug #7890] [ruby-core:52549]
|
||||
Patch by Matthew Mongeau
|
||||
|
||||
Wed Feb 20 11:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* lib/mutex_m.rb: Add rdoc for Mutex_m module
|
||||
|
|
6
object.c
6
object.c
|
@ -3112,6 +3112,12 @@ Init_Object(void)
|
|||
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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue