winapi_check: Print a warning when 'long' is used in an API file as this type is not Win64 compatible.
This commit is contained in:
parent
b858b78990
commit
dffe626a9c
|
@ -192,6 +192,10 @@ sub parse_api_file($$) {
|
|||
}
|
||||
} elsif(defined($kind)) {
|
||||
my $type = $_;
|
||||
if ($type =~ /^long\b/)
|
||||
{
|
||||
$output->write("$file:$linenum: type ($type) is not Win64 compatible\n");
|
||||
}
|
||||
if(!$forbidden) {
|
||||
if(defined($module)) {
|
||||
if($$allowed_modules_unlimited{$type}) {
|
||||
|
|
Loading…
Reference in New Issue