mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
* object.c: Document Data class by Matthew Mongeau [Backport #7929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f03c439cc5
commit
f9c24492a3
2 changed files with 10 additions and 0 deletions
6
object.c
6
object.c
|
@ -3132,6 +3132,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
Add a link
Reference in a new issue