summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--class.c2
-rw-r--r--error.c4
-rw-r--r--file.c1
-rw-r--r--io.c1
-rw-r--r--numeric.c1
-rw-r--r--object.c5
-rw-r--r--re.c2
-rw-r--r--struct.c1
-rw-r--r--time.c1
10 files changed, 21 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dceba29380..4b89da51d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/class.c b/class.c
index 3842231aab..234973f402 100644
--- a/class.c
+++ b/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;
diff --git a/error.c b/error.c
index f2424272d5..5de902888c 100644
--- a/error.c
+++ b/error.c
@@ -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;
diff --git a/file.c b/file.c
index b1a8131893..7fc3f547ad 100644
--- a/file.c
+++ b/file.c
@@ -3282,6 +3282,7 @@ rb_stat_init(obj, fname)
return Qnil;
}
+/* :nodoc: */
static VALUE
rb_stat_init_copy(copy, orig)
VALUE copy, orig;
diff --git a/io.c b/io.c
index cf629009a2..f0a405c4fa 100644
--- a/io.c
+++ b/io.c
@@ -3183,6 +3183,7 @@ rb_io_reopen(argc, argv, file)
return file;
}
+/* :nodoc: */
static VALUE
rb_io_init_copy(dest, io)
VALUE dest, io;
diff --git a/numeric.c b/numeric.c
index 8557ec1d7f..deafeb0627 100644
--- a/numeric.c
+++ b/numeric.c
@@ -197,6 +197,7 @@ num_sadded(x, name)
return Qnil; /* not reached */
}
+/* :nodoc: */
static VALUE
num_init_copy(x, y)
VALUE x, y;
diff --git a/object.c b/object.c
index 8dcddb5d01..46442cab59 100644
--- a/object.c
+++ b/object.c
@@ -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");
diff --git a/re.c b/re.c
index 9332dfe389..c1e5af074d 100644
--- a/re.c
+++ b/re.c
@@ -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;
diff --git a/struct.c b/struct.c
index 9ad30460ff..fd149e3c75 100644
--- a/struct.c
+++ b/struct.c
@@ -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;
diff --git a/time.c b/time.c
index c0fb0578f9..0fedb94c98 100644
--- a/time.c
+++ b/time.c
@@ -944,6 +944,7 @@ time_hash(time)
return LONG2FIX(hash);
}
+/* :nodoc: */
static VALUE
time_init_copy(copy, time)
VALUE copy, time;