mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
call rb_str_modify to make a copy unshared
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d1417ff8fa
commit
d25a27abba
3 changed files with 14 additions and 1 deletions
|
|
@ -572,6 +572,7 @@
|
|||
#define HAVE_RB_STRING 1
|
||||
#define HAVE_SAFE_STRING_VALUE 1
|
||||
#define HAVE_RB_STRING_VALUE_CSTR 1
|
||||
#define HAVE_RB_STR_MODIFY 1
|
||||
|
||||
/* Struct */
|
||||
#define HAVE_RB_STRUCT_AREF 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue