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

compatible with 'double' (spec files).
This commit is contained in:
Francois Gouget 2005-09-26 09:52:09 +00:00 committed by Alexandre Julliard
parent e180cd95e2
commit 9714802b25
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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;