Update winapi_check so it considers 'longlong' (win*.api files) as
compatible with 'double' (spec files).
This commit is contained in:
parent
e180cd95e2
commit
9714802b25
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue