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

Francois Gouget fgouget at free.fr
Fri Aug 27 11:25:58 CDT 2004


With this patch we will have up-to-date API statistics again. I have
already manually updated my web page and once this is committed
WineHQ's web page should start working again too:

http://fgouget.free.fr/wine/winapi_stats-en.shtml
http://www.winehq.org/site/winapi_stats


Changelog:

 * tools/winapi_check/winapi_parser.pm

   Hack winapi_parser so we recognise ElfW(auxv_t) as a type
   Fixes the scripts that compute API statistics


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                  Hiroshima '45 - Czernobyl '86 - Windows '95
-------------- next part --------------
Index: tools/winapi_check/winapi_parser.pm
===================================================================
RCS file: /var/cvs/wine/tools/winapi_check/winapi_parser.pm,v
retrieving revision 1.37
diff -u -r1.37 winapi_parser.pm
--- tools/winapi_check/winapi_parser.pm	17 May 2004 20:50:24 -0000	1.37
+++ tools/winapi_check/winapi_parser.pm	27 Aug 2004 15:31:28 -0000
@@ -418,7 +418,7 @@
 		    $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)
 		{


More information about the wine-patches mailing list