ruby-changes:50425
From: nobu <ko1@a...>
Date: Fri, 23 Feb 2018 11:16:49 +0900 (JST)
Subject: [ruby-changes:50425] nobu:r62542 (trunk): [DOC] nodoc internal methods/classes
nobu 2018-02-23 11:16:42 +0900 (Fri, 23 Feb 2018) New Revision: 62542 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62542 Log: [DOC] nodoc internal methods/classes Modified files: trunk/complex.c trunk/error.c trunk/gc.c trunk/process.c trunk/rational.c Index: gc.c =================================================================== --- gc.c (revision 62541) +++ gc.c (revision 62542) @@ -8324,6 +8324,7 @@ wmap_final_func(st_data_t *key, st_data_ https://github.com/ruby/ruby/blob/trunk/gc.c#L8324 return ST_CONTINUE; } +/* :nodoc: */ static VALUE wmap_finalize(VALUE self, VALUE objid) { Index: complex.c =================================================================== --- complex.c (revision 62541) +++ complex.c (revision 62542) @@ -2300,7 +2300,8 @@ Init_Complex(void) https://github.com/ruby/ruby/blob/trunk/complex.c#L2300 rb_define_method(rb_cComplex, "infinite?", rb_complex_infinite_p, 0); rb_define_private_method(rb_cComplex, "marshal_dump", nucomp_marshal_dump, 0); - compat = rb_define_class_under(rb_cComplex, "compatible", rb_cObject); /* :nodoc: */ + /* :nodoc: */ + compat = rb_define_class_under(rb_cComplex, "compatible", rb_cObject); rb_define_private_method(compat, "marshal_load", nucomp_marshal_load, 1); rb_marshal_define_compat(rb_cComplex, compat, nucomp_dumper, nucomp_loader); Index: rational.c =================================================================== --- rational.c (revision 62541) +++ rational.c (revision 62542) @@ -2748,6 +2748,7 @@ Init_Rational(void) https://github.com/ruby/ruby/blob/trunk/rational.c#L2748 rb_define_method(rb_cRational, "inspect", nurat_inspect, 0); rb_define_private_method(rb_cRational, "marshal_dump", nurat_marshal_dump, 0); + /* :nodoc: */ compat = rb_define_class_under(rb_cRational, "compatible", rb_cObject); rb_define_private_method(compat, "marshal_load", nurat_marshal_load, 1); rb_marshal_define_compat(rb_cRational, compat, nurat_dumper, nurat_loader); Index: process.c =================================================================== --- process.c (revision 62541) +++ process.c (revision 62542) @@ -7662,6 +7662,7 @@ InitVM_process(void) https://github.com/ruby/ruby/blob/trunk/process.c#L7662 rb_define_module_function(rb_mProcess, "waitall", proc_waitall, 0); rb_define_module_function(rb_mProcess, "detach", proc_detach, 1); + /* :nodoc: */ rb_cWaiter = rb_define_class_under(rb_mProcess, "Waiter", rb_cThread); rb_undef_alloc_func(rb_cWaiter); rb_undef_method(CLASS_OF(rb_cWaiter), "new"); Index: error.c =================================================================== --- error.c (revision 62541) +++ error.c (revision 62542) @@ -298,6 +298,7 @@ end_with_asciichar(VALUE str, int c) https://github.com/ruby/ruby/blob/trunk/error.c#L298 rb_str_end_with_asciichar(str, c); } +/* :nodoc: */ static VALUE warning_write(int argc, VALUE *argv, VALUE buf) { @@ -2411,6 +2412,7 @@ Init_Exception(void) https://github.com/ruby/ruby/blob/trunk/error.c#L2412 rb_define_method(rb_mWarning, "warn", rb_warning_s_warn, 1); rb_extend_object(rb_mWarning, rb_mWarning); + /* :nodoc: */ rb_cWarningBuffer = rb_define_class_under(rb_mWarning, "buffer", rb_cString); rb_define_method(rb_cWarningBuffer, "write", warning_write, -1); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/