Don't output the DECLSPEC_ALIGN() directives in the TYPE_FIELD tests.
diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test index 42eb3f7..4741a10 100755 --- a/tools/winapi/winapi_test +++ b/tools/winapi/winapi_test
@@ -706,6 +706,7 @@ foreach my $field ($type->fields()) { my $field_type_name = $field->type_name; + $field_type_name =~ s/\s+DECLSPEC_ALIGN\(\d+\)//; my $field_name = $field->name; my $field_size = $field->size; my $field_offset = $field->offset;