mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
should not use rb_str_modify(), too
Same as 8247b8edde, should not use rb_str_modify() here.
https://bugs.ruby-lang.org/issues/17343#change-88858
This commit is contained in:
parent
d5e16161f6
commit
764de7566f
Notes:
git
2020-12-01 18:16:48 +09:00
4 changed files with 23 additions and 3 deletions
|
|
@ -42,6 +42,8 @@ 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);
|
||||
void rb_str_make_independent(VALUE str);
|
||||
|
||||
static inline bool STR_EMBED_P(VALUE str);
|
||||
static inline bool STR_SHARED_P(VALUE str);
|
||||
static inline VALUE QUOTE(VALUE v);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue