diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-08 04:42:46 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-08 04:42:46 +0000 |
| commit | 4ad9d4f0ef3c477f44853c4554d4bb52d8ce33b2 (patch) | |
| tree | 9cc2dd73b586e08de50d1313866b65a025fa2e0c /object.c | |
| parent | 17bf7194228855b3c078bafc015b3f5caffda5bd (diff) | |
| download | ruby-4ad9d4f0ef3c477f44853c4554d4bb52d8ce33b2.tar.gz ruby-4ad9d4f0ef3c477f44853c4554d4bb52d8ce33b2.tar.xz ruby-4ad9d4f0ef3c477f44853c4554d4bb52d8ce33b2.zip | |
* missing/strchr.c (strrchr): fixed a bug for detecting NUL in a
string. [ruby-dev:26985]
* string.c (rb_str_times): should taint empty strings as well.
* object.c (Init_Object): make class_variable_{get,set} public.
[ruby-dev:26965]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
| -rw-r--r-- | object.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2646,10 +2646,10 @@ Init_Object() rb_mod_const_missing, 1); /* in variable.c */ rb_define_method(rb_cModule, "class_variables", 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_define_private_method(rb_cModule, "class_variable_get", rb_mod_cvar_get, 1); - rb_define_private_method(rb_cModule, "class_variable_set", rb_mod_cvar_set, 2); + rb_define_method(rb_cModule, "remove_class_variable", + rb_mod_remove_cvar, 1); /* in variable.c */ + rb_define_method(rb_cModule, "class_variable_get", rb_mod_cvar_get, 1); + rb_define_method(rb_cModule, "class_variable_set", rb_mod_cvar_set, 2); rb_define_method(rb_cClass, "allocate", rb_obj_alloc, 0); rb_define_method(rb_cClass, "new", rb_class_new_instance, -1); |
