mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Avoid use of designated initializer for the sake of cxx_abi.
This commit is contained in:
+1
-1
@@ -956,7 +956,7 @@ dump_pool(mrb_state *mrb, const mrb_pool_value *p, FILE *fp)
|
||||
else { /* string */
|
||||
int i, len = p->tt>>2;
|
||||
const char *s = p->u.str;
|
||||
fprintf(fp, "{IREP_TT_STR|(%d<<2), {.str=\"", len);
|
||||
fprintf(fp, "{IREP_TT_STR|(%d<<2), {\"", len);
|
||||
for (i=0; i<len; i++) {
|
||||
fprintf(fp, "\\x%02x", (int)s[i]&0xff);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user