mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1141f008a8
commit
e594bf57d8
7 changed files with 16 additions and 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
|
||||
|
|
2
class.c
2
class.c
|
@ -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;
|
||||
|
|
1
file.c
1
file.c
|
@ -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;
|
||||
|
|
5
object.c
5
object.c
|
@ -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");
|
||||
|
|
2
re.c
2
re.c
|
@ -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;
|
||||
|
|
1
time.c
1
time.c
|
@ -1031,6 +1031,7 @@ time_hash(time)
|
|||
return LONG2FIX(hash);
|
||||
}
|
||||
|
||||
/* :nodoc: */
|
||||
static VALUE
|
||||
time_init_copy(copy, time)
|
||||
VALUE copy, time;
|
||||
|
|
Loading…
Add table
Reference in a new issue