зеркало из https://github.com/github/ruby.git
* 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:
Родитель
4b81b403eb
Коммит
c7bb797410
|
@ -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>
|
Wed Feb 20 11:50:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
* lib/mutex_m.rb: Add rdoc for Mutex_m module
|
* 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, "extend_object");
|
||||||
rb_undef_method(rb_cClass, "append_features");
|
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_cData = rb_define_class("Data", rb_cObject);
|
||||||
rb_undef_alloc_func(rb_cData);
|
rb_undef_alloc_func(rb_cData);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче