summaryrefslogtreecommitdiff
path: root/internal/string.h
diff options
context:
space:
mode:
authorS.H <gamelinks007@gmail.com>2021-06-01 16:37:24 +0900
committerGitHub <noreply@github.com>2021-06-01 00:37:24 -0700
commit45662c54c95db007d8738cc0bbaa6bdb36d00567 (patch)
tree69e370631d588fc61a493273e0b2c317e84e106c /internal/string.h
parenta2cf0607b06f9a0cf522a971fa6226bb627ecf20 (diff)
downloadruby-45662c54c95db007d8738cc0bbaa6bdb36d00567.tar.gz
Remove unneeded rb_str_initialize defination in internal/string.h (#4465)
Diffstat (limited to 'internal/string.h')
-rw-r--r--internal/string.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/string.h b/internal/string.h
index 8907a1a6e6..29213537ed 100644
--- a/internal/string.h
+++ b/internal/string.h
@@ -38,7 +38,6 @@ VALUE rb_external_str_with_enc(VALUE str, rb_encoding *eenc);
VALUE rb_str_cat_conv_enc_opts(VALUE newstr, long ofs, const char *ptr, long len,
rb_encoding *from, int ecflags, VALUE ecopts);
VALUE rb_enc_str_scrub(rb_encoding *enc, VALUE str, VALUE repl);
-VALUE rb_str_initialize(VALUE str, const char *ptr, long len, rb_encoding *enc);
size_t rb_str_memsize(VALUE);
char *rb_str_to_cstr(VALUE str);
const char *ruby_escaped_char(int c);