Skip to content

Commit 94dc5f2

Browse files
committed
change wstring to PRIMITIVE
for now at least. we probably do not want to have "magic string" handling for wide strings, and will almost certainly initially just treat them as opaque objects
1 parent 3b0c0e7 commit 94dc5f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StructFields.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ sub render_field_metadata_rec($$) {
578578
push @field_defs, [ "${FLD}(STATIC_STRING, $name)", 'NULL', $count, $extra ];
579579
} elsif ($subtype eq 'static-wstring') {
580580
my $count = $field->getAttribute('size') || 0;
581-
push @field_defs, [ "${FLD}(STATIC_WSTRING, $name)", 'NULL', $count, $extra ];
581+
push @field_defs, [ "${FLD}(PRIMITIVE, $name)", 'NULL', $count, $extra ];
582582
}
583583
} elsif ($meta eq 'global' || $meta eq 'compound') {
584584
if (is_attr_true($field, 'ld:enum-size-forced')) {

0 commit comments

Comments
 (0)