diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-02 15:41:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-02 15:41:08 +0000 |
commit | 499da5f2e7284b34e98456503ddf6dc2a0963feb (patch) | |
tree | 8f6de6848b053c377223b2b6e147487780d86848 /ext/-test-/string | |
parent | d7b06e282ab6af1c06c49ae2be163ddf4a14b5a0 (diff) | |
download | ruby-499da5f2e7284b34e98456503ddf6dc2a0963feb.tar.gz |
static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/string')
-rw-r--r-- | ext/-test-/string/new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/string/new.c b/ext/-test-/string/new.c index 8a3613e374..3b54eebefe 100644 --- a/ext/-test-/string/new.c +++ b/ext/-test-/string/new.c @@ -1,13 +1,13 @@ #include "ruby.h" #include "ruby/encoding.h" -VALUE +static VALUE bug_str_buf_new(VALUE self, VALUE len) { return rb_str_buf_new(NUM2LONG(len)); } -VALUE +static VALUE bug_external_str_new(VALUE self, VALUE len, VALUE enc) { return rb_external_str_new_with_enc(NULL, NUM2LONG(len), rb_to_encoding(enc)); |