mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Init functions should have prefix to avoid confliction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1b055cffbc
commit
436fd82ab7
16 changed files with 16 additions and 16 deletions
|
@ -131,7 +131,7 @@ bug_str_s_rb_str_new_frozen(VALUE self, VALUE str)
|
|||
}
|
||||
|
||||
void
|
||||
Init_cstr(VALUE klass)
|
||||
Init_string_cstr(VALUE klass)
|
||||
{
|
||||
rb_define_method(klass, "cstr_term", bug_str_cstr_term, 0);
|
||||
rb_define_method(klass, "cstr_unterm", bug_str_cstr_unterm, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue