1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* class.c, error.c, file.c, io.c, numeric.c, object.c, re.c, struct.c,

time.c: marked init_copy functions nodoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-01-18 14:16:47 +00:00
parent 736668f2b0
commit a7b1a2eced
10 changed files with 21 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sun Jan 18 23:16:34 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* class.c, error.c, file.c, io.c, numeric.c, object.c, re.c, struct.c,
time.c: marked init_copy functions nodoc.
Sun Jan 18 20:47:35 2004 WATANABE Hirofumi <eban@ruby-lang.org>
* ruby.c: use translate_char() on Cygwin.

View file

@ -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;

View file

@ -672,6 +672,7 @@ nometh_err_initialize(argc, argv, self)
return self;
}
/* :nodoc: */
static void
name_err_mesg_mark(ptr)
VALUE *ptr;
@ -679,6 +680,7 @@ name_err_mesg_mark(ptr)
rb_gc_mark_locations(ptr, ptr+3);
}
/* :nodoc: */
static VALUE
name_err_mesg_init(obj, mesg, recv, method)
VALUE obj, mesg, recv, method;
@ -691,6 +693,7 @@ name_err_mesg_init(obj, mesg, recv, method)
return Data_Wrap_Struct(rb_cNameErrorMesg, name_err_mesg_mark, -1, ptr);
}
/* :nodoc: */
static VALUE
name_err_mesg_to_str(obj)
VALUE obj;
@ -737,6 +740,7 @@ name_err_mesg_to_str(obj)
return mesg;
}
/* :nodoc: */
static VALUE
name_err_mesg_load(klass, str)
VALUE klass, str;

1
file.c
View file

@ -3282,6 +3282,7 @@ rb_stat_init(obj, fname)
return Qnil;
}
/* :nodoc: */
static VALUE
rb_stat_init_copy(copy, orig)
VALUE copy, orig;

1
io.c
View file

@ -3183,6 +3183,7 @@ rb_io_reopen(argc, argv, file)
return file;
}
/* :nodoc: */
static VALUE
rb_io_init_copy(dest, io)
VALUE dest, io;

View file

@ -197,6 +197,7 @@ num_sadded(x, name)
return Qnil; /* not reached */
}
/* :nodoc: */
static VALUE
num_init_copy(x, y)
VALUE x, y;

View file

@ -295,6 +295,7 @@ rb_obj_dup(obj)
return dup;
}
/* :nodoc: */
VALUE
rb_obj_init_copy(obj, orig)
VALUE obj, orig;
@ -2560,7 +2561,7 @@ Init_Object()
rb_define_method(rb_cModule, "<=", rb_mod_le, 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 */
rb_define_method(rb_cModule, "include?", rb_mod_include_p, 1); /* in class.c */
@ -2598,7 +2599,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
View file

@ -678,6 +678,7 @@ match_alloc(klass)
return (VALUE)match;
}
/* :nodoc: */
static VALUE
match_init_copy(obj, orig)
VALUE obj, orig;
@ -1972,6 +1973,7 @@ rb_reg_s_union(argc, argv)
}
}
/* :nodoc: */
static VALUE
rb_reg_init_copy(copy, re)
VALUE copy, re;

View file

@ -514,6 +514,7 @@ rb_struct_to_a(s)
return rb_ary_new4(RSTRUCT(s)->len, RSTRUCT(s)->ptr);
}
/* :nodoc: */
static VALUE
rb_struct_init_copy(copy, s)
VALUE copy, s;

1
time.c
View file

@ -944,6 +944,7 @@ time_hash(time)
return LONG2FIX(hash);
}
/* :nodoc: */
static VALUE
time_init_copy(copy, time)
VALUE copy, time;