We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da7b947 commit 4d1b3a2Copy full SHA for 4d1b3a2
string.c
@@ -124,7 +124,7 @@ VALUE rb_cSymbol;
124
FL_SET((str), STR_NOEMBED);\
125
FL_UNSET((str), STR_SHARED | STR_SHARED_ROOT | STR_BORROWED);\
126
} while (0)
127
-#define STR_SET_EMBED(str) FL_UNSET((str), (STR_NOEMBED|STR_NOFREE))
+#define STR_SET_EMBED(str) FL_UNSET((str), STR_NOEMBED | STR_SHARED | STR_NOFREE)
128
129
#define STR_SET_LEN(str, n) do { \
130
RSTRING(str)->len = (n); \
0 commit comments