winapi_test: Clarify the error message regarding struct size and alignment.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
13c69ae840
commit
e5531732ae
|
@ -276,7 +276,7 @@ sub _find_align_kind_size($) {
|
||||||
} elsif (/^(struct|union)$/) {
|
} elsif (/^(struct|union)$/) {
|
||||||
$kind = $1;
|
$kind = $1;
|
||||||
if (!$size_parse_reported{$_}) {
|
if (!$size_parse_reported{$_}) {
|
||||||
$output->write("$type_name: can't parse type\n");
|
$output->write("cannot compute the size and alignment of $type_name types\n");
|
||||||
$size_parse_reported{$_} = 1;
|
$size_parse_reported{$_} = 1;
|
||||||
}
|
}
|
||||||
} elsif (/^\w+\s*\((?:\s*CALLBACK|\s*NTAPI|\s*WINAPI)?\s*\*\s*\)\s*\(.*?\)$/) {
|
} elsif (/^\w+\s*\((?:\s*CALLBACK|\s*NTAPI|\s*WINAPI)?\s*\*\s*\)\s*\(.*?\)$/) {
|
||||||
|
|
Loading…
Reference in New Issue