Hack winapi_parser so we recognise ElfW(auxv_t) as a type. Fixes the
scripts that compute API statistics.
This commit is contained in:
parent
60fbc97f08
commit
f9f68327cc
|
@ -418,7 +418,7 @@ sub parse_c_file {
|
||||||
$argument_name = "...";
|
$argument_name = "...";
|
||||||
} elsif($argument =~ /^
|
} elsif($argument =~ /^
|
||||||
((?:struct\s+|union\s+|enum\s+|register\s+|(?:signed\s+|unsigned\s+)
|
((?: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*
|
((?:__RPC_FAR|const|CONST)?\s*(?:\*\s*(?:__RPC_FAR|const|CONST)?\s*?)*)\s*
|
||||||
(?:WINE_UNUSED\s+)?(\w*)\s*(?:\[\]|\s+OPTIONAL|\s+WINE_UNUSED)?$/x)
|
(?:WINE_UNUSED\s+)?(\w*)\s*(?:\[\]|\s+OPTIONAL|\s+WINE_UNUSED)?$/x)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue