1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unsued str_new_shared function declaration

This commit is contained in:
S-H-GAMELINKS 2021-02-04 13:06:20 +09:00 committed by Koichi Sasada
parent 46b5b51cc6
commit 90f008f569
Notes: git 2021-02-04 16:26:19 +09:00

View file

@ -197,7 +197,6 @@ VALUE rb_cSymbol;
((len) <= RSTRING_EMBED_LEN_MAX + 1 - (termlen)) ((len) <= RSTRING_EMBED_LEN_MAX + 1 - (termlen))
static VALUE str_replace_shared_without_enc(VALUE str2, VALUE str); static VALUE str_replace_shared_without_enc(VALUE str2, VALUE str);
static VALUE str_new_shared(VALUE klass, VALUE str);
static VALUE str_new_frozen(VALUE klass, VALUE orig); static VALUE str_new_frozen(VALUE klass, VALUE orig);
static VALUE str_new_frozen_buffer(VALUE klass, VALUE orig, int copy_encoding); static VALUE str_new_frozen_buffer(VALUE klass, VALUE orig, int copy_encoding);
static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex); static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex);