Hack winapi_parser so we recognise ElfW(auxv_t) as a type. Fixes the

scripts that compute API statistics.
This commit is contained in:
Francois Gouget 2004-08-27 19:11:51 +00:00 committed by Alexandre Julliard
parent 60fbc97f08
commit f9f68327cc

View file

@ -418,7 +418,7 @@ sub parse_c_file {
$argument_name = "...";
} elsif($argument =~ /^
((?:struct\s+|union\s+|enum\s+|register\s+|(?:signed\s+|unsigned\s+)
(?:short\s+(?=int)|long\s+(?=int))?)?\w+)\s*
(?:short\s+(?=int)|long\s+(?=int))?)?\w+|ElfW\(\w+\))\s*
((?:__RPC_FAR|const|CONST)?\s*(?:\*\s*(?:__RPC_FAR|const|CONST)?\s*?)*)\s*
(?:WINE_UNUSED\s+)?(\w*)\s*(?:\[\]|\s+OPTIONAL|\s+WINE_UNUSED)?$/x)
{