Commit 9714802b authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Update winapi_check so it considers 'longlong' (win*.api files) as

compatible with 'double' (spec files).
parent e180cd95
......@@ -387,7 +387,7 @@ sub _argument_kinds($$) {
my $argument_kind = $winapi->translate_argument($argument_type);
if(defined($argument_kind) && $argument_kind eq "longlong") {
push @argument_kinds, ("long", "long");
push @argument_kinds, "double";
} else {
push @argument_kinds, $argument_kind;
}
......
......@@ -195,11 +195,11 @@ sub _check_function($$$$$$) {
# FIXME: Kludge
if(defined($kind) && $kind eq "struct16") {
$n+=4;
("long", "long", "long", "long");
} elsif(defined($kind) && $kind eq "longlong") {
$n+=2;
("long", "long");
("double", "double");
} elsif(defined($kind) && $kind eq "longlong") {
$n+=1;
"double";
} else {
$n++;
$kind;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment