summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-08 02:30:19 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-08 02:30:19 +0000
commit180de1b3f81d6d3c5327f77cbcfa1e3596b0fe67 (patch)
treeb77dae6b051e2e45bbed0d1bb9205bb0ca9d8980 /object.c
parent8fa846b8f6821fd99b32402372f7e5aa0514e0c0 (diff)
* eval.c, object.c, process.c, re.c: don't use C++ style comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r--object.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/object.c b/object.c
index 26d3ea3..691a895 100644
--- a/object.c
+++ b/object.c
@@ -2500,17 +2500,17 @@ Init_Object()
rb_define_method(rb_mKernel, "inspect", rb_obj_inspect, 0);
rb_define_method(rb_mKernel, "methods", rb_obj_methods, -1);
rb_define_method(rb_mKernel, "singleton_methods",
- rb_obj_singleton_methods, -1); // in class.c
+ rb_obj_singleton_methods, -1); /* in class.c */
rb_define_method(rb_mKernel, "protected_methods",
rb_obj_protected_methods, -1);
rb_define_method(rb_mKernel, "private_methods", rb_obj_private_methods, -1);
rb_define_method(rb_mKernel, "public_methods", rb_obj_public_methods, -1);
rb_define_method(rb_mKernel, "instance_variables",
- rb_obj_instance_variables, 0); // in variable.c
+ rb_obj_instance_variables, 0); /* in variable.c */
rb_define_method(rb_mKernel, "instance_variable_get", rb_obj_ivar_get, 1);
rb_define_method(rb_mKernel, "instance_variable_set", rb_obj_ivar_set, 2);
rb_define_private_method(rb_mKernel, "remove_instance_variable",
- rb_obj_remove_instance_variable, 1); // in variable.c
+ rb_obj_remove_instance_variable, 1); /* in variable.c */
rb_define_method(rb_mKernel, "instance_of?", rb_obj_is_instance_of, 1);
rb_define_method(rb_mKernel, "kind_of?", rb_obj_is_kind_of, 1);
@@ -2520,8 +2520,8 @@ Init_Object()
rb_define_private_method(rb_mKernel, "singleton_method_removed", rb_obj_dummy, 1);
rb_define_private_method(rb_mKernel, "singleton_method_undefined", rb_obj_dummy, 1);
- rb_define_global_function("sprintf", rb_f_sprintf, -1); // in sprintf.c
- rb_define_global_function("format", rb_f_sprintf, -1); // in sprintf.c
+ rb_define_global_function("sprintf", rb_f_sprintf, -1); /* in sprintf.c */
+ rb_define_global_function("format", rb_f_sprintf, -1); /* in sprintf.c */
rb_define_global_function("Integer", rb_f_integer, 1);
rb_define_global_function("Float", rb_f_float, 1);
@@ -2546,7 +2546,7 @@ Init_Object()
rb_cSymbol = rb_define_class("Symbol", rb_cObject);
rb_define_singleton_method(rb_cSymbol, "all_symbols",
- rb_sym_all_symbols, 0); // in parse.y
+ rb_sym_all_symbols, 0); /* in parse.y */
rb_undef_alloc_func(rb_cSymbol);
rb_undef_method(CLASS_OF(rb_cSymbol), "new");
@@ -2567,10 +2567,10 @@ Init_Object()
rb_define_method(rb_cModule, "initialize_copy", rb_mod_init_copy, 1);
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
- rb_define_method(rb_cModule, "name", rb_mod_name, 0); // in variable.c
- rb_define_method(rb_cModule, "ancestors", rb_mod_ancestors, 0); // in class.c
+ rb_mod_included_modules, 0); /* in class.c */
+ rb_define_method(rb_cModule, "include?", rb_mod_include_p, 1); /* in class.c */
+ rb_define_method(rb_cModule, "name", rb_mod_name, 0); /* in variable.c */
+ rb_define_method(rb_cModule, "ancestors", rb_mod_ancestors, 0); /* in class.c */
rb_define_private_method(rb_cModule, "attr", rb_mod_attr, -1);
rb_define_private_method(rb_cModule, "attr_reader", rb_mod_attr_reader, -1);
@@ -2580,26 +2580,26 @@ Init_Object()
rb_define_alloc_func(rb_cModule, rb_module_s_alloc);
rb_define_method(rb_cModule, "initialize", rb_mod_initialize, 0);
rb_define_method(rb_cModule, "instance_methods",
- rb_class_instance_methods, -1); // in class.c
+ rb_class_instance_methods, -1); /* in class.c */
rb_define_method(rb_cModule, "public_instance_methods",
- rb_class_public_instance_methods, -1); // in class.c
+ rb_class_public_instance_methods, -1); /* in class.c */
rb_define_method(rb_cModule, "protected_instance_methods",
- rb_class_protected_instance_methods, -1); // in class.c
+ rb_class_protected_instance_methods, -1); /* in class.c */
rb_define_method(rb_cModule, "private_instance_methods",
- rb_class_private_instance_methods, -1); // in class.c
+ rb_class_private_instance_methods, -1); /* in class.c */
- rb_define_method(rb_cModule, "constants", rb_mod_constants, 0); // in variable.c
+ rb_define_method(rb_cModule, "constants", rb_mod_constants, 0); /* in variable.c */
rb_define_method(rb_cModule, "const_get", rb_mod_const_get, 1);
rb_define_method(rb_cModule, "const_set", rb_mod_const_set, 2);
rb_define_method(rb_cModule, "const_defined?", rb_mod_const_defined, 1);
rb_define_private_method(rb_cModule, "remove_const",
- rb_mod_remove_const, 1); // in variable.c
+ rb_mod_remove_const, 1); /* in variable.c */
rb_define_method(rb_cModule, "const_missing",
- rb_mod_const_missing, 1); // in variable.c
+ rb_mod_const_missing, 1); /* in variable.c */
rb_define_method(rb_cModule, "class_variables",
- rb_mod_class_variables, 0); // in variable.c
+ rb_mod_class_variables, 0); /* in variable.c */
rb_define_private_method(rb_cModule, "remove_class_variable",
- rb_mod_remove_cvar, 1); // in variable.c
+ rb_mod_remove_cvar, 1); /* in variable.c */
rb_define_method(rb_cClass, "allocate", rb_obj_alloc, 0);
rb_define_method(rb_cClass, "new", rb_class_new_instance, -1);