diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-03 08:02:56 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-03 08:02:56 +0000 |
commit | 436fd82ab734df9cc175f29a236b39377969ffe9 (patch) | |
tree | f1c68dcf8a74cd9cdfaccddd79c559a06c38f93e /ext/-test-/string/new.c | |
parent | 1b055cffbc30f7a76a63cac62fd7894e5e1eee5f (diff) |
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
Diffstat (limited to 'ext/-test-/string/new.c')
-rw-r--r-- | ext/-test-/string/new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/string/new.c b/ext/-test-/string/new.c index 3b54eebefe..60625b8300 100644 --- a/ext/-test-/string/new.c +++ b/ext/-test-/string/new.c @@ -14,7 +14,7 @@ bug_external_str_new(VALUE self, VALUE len, VALUE enc) } void -Init_new(VALUE klass) +Init_string_new(VALUE klass) { rb_define_singleton_method(klass, "buf_new", bug_str_buf_new, 1); rb_define_singleton_method(klass, "external_new", bug_external_str_new, 2); |