diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | class.c | 2 | ||||
-rw-r--r-- | file.c | 1 | ||||
-rw-r--r-- | numeric.c | 1 | ||||
-rw-r--r-- | object.c | 5 | ||||
-rw-r--r-- | re.c | 2 | ||||
-rw-r--r-- | time.c | 1 |
7 files changed, 16 insertions, 3 deletions
@@ -1,9 +1,14 @@ -Wed Sep 28 23:41:34 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> +Wed Sep 28 23:42:15 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> * file.c (apply2files): add prototype. * file.c (rb_stat_inspect): constified. + * class.c (rb_mod_init_copy, rb_class_init_copy), file.c (rb_stat_init_copy), + numeric.c (num_init_copy), object.c (rb_obj_init_copy, Init_Object), + re.c (match_init_copy, rb_reg_init_copy), time.c (time_init_copy): + undocumented. + Wed Sep 28 23:09:23 2005 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/delegate.rb: document update from James Edward Gray II @@ -58,6 +58,7 @@ clone_method(mid, body, tbl) return ST_CONTINUE; } +/* :nodoc: */ VALUE rb_mod_init_copy(clone, orig) VALUE clone, orig; @@ -85,6 +86,7 @@ rb_mod_init_copy(clone, orig) return clone; } +/* :nodoc: */ VALUE rb_class_init_copy(clone, orig) VALUE clone, orig; @@ -3304,6 +3304,7 @@ rb_stat_init(obj, fname) return Qnil; } +/* :nodoc: */ static VALUE rb_stat_init_copy(copy, orig) VALUE copy, orig; @@ -198,6 +198,7 @@ num_sadded(x, name) return Qnil; /* not reached */ } +/* :nodoc: */ static VALUE num_init_copy(x, y) VALUE x, y; @@ -303,6 +303,7 @@ rb_obj_dup(obj) return dup; } +/* :nodoc: */ VALUE rb_obj_init_copy(obj, orig) VALUE obj, orig; @@ -2701,7 +2702,7 @@ Init_Object() rb_define_method(rb_cModule, "<=", rb_class_inherited_p, 1); rb_define_method(rb_cModule, ">", rb_mod_gt, 1); rb_define_method(rb_cModule, ">=", rb_mod_ge, 1); - rb_define_method(rb_cModule, "initialize_copy", rb_mod_init_copy, 1); + rb_define_method(rb_cModule, "initialize_copy", rb_mod_init_copy, 1); /* in class.c */ rb_define_method(rb_cModule, "to_s", rb_mod_to_s, 0); rb_define_method(rb_cModule, "included_modules", rb_mod_included_modules, 0); /* in class.c */ @@ -2743,7 +2744,7 @@ Init_Object() rb_define_method(rb_cClass, "allocate", rb_obj_alloc, 0); rb_define_method(rb_cClass, "new", rb_class_new_instance, -1); rb_define_method(rb_cClass, "initialize", rb_class_initialize, -1); - rb_define_method(rb_cClass, "initialize_copy", rb_class_init_copy, 1); + rb_define_method(rb_cClass, "initialize_copy", rb_class_init_copy, 1); /* in class.c */ rb_define_method(rb_cClass, "superclass", rb_class_superclass, 0); rb_define_alloc_func(rb_cClass, rb_class_s_alloc); rb_undef_method(rb_cClass, "extend_object"); @@ -680,6 +680,7 @@ match_alloc(klass) return (VALUE)match; } +/* :nodoc: */ static VALUE match_init_copy(obj, orig) VALUE obj, orig; @@ -1974,6 +1975,7 @@ rb_reg_s_union(argc, argv) } } +/* :nodoc: */ static VALUE rb_reg_init_copy(copy, re) VALUE copy, re; @@ -1031,6 +1031,7 @@ time_hash(time) return LONG2FIX(hash); } +/* :nodoc: */ static VALUE time_init_copy(copy, time) VALUE copy, time; |