Fix __RPC_USER handling in winapi_parser.pm
Francois Gouget
fgouget at free.fr
Fri Dec 2 05:05:03 CST 2005
There was a copy/paste error in winapi_parser.pm.
Changelog:
* tools/winapi/winapi_parser.pm
Francois Gouget <fgouget at free.fr>
Fix __RPC_USER handling.
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Computers are like airconditioners
They stop working properly if you open WINDOWS
-------------- next part --------------
Index: tools/winapi/winapi_parser.pm
===================================================================
RCS file: /var/cvs/wine/tools/winapi/winapi_parser.pm,v
retrieving revision 1.8
diff -u -p -r1.8 winapi_parser.pm
--- tools/winapi/winapi_parser.pm 30 Nov 2005 12:01:04 -0000 1.8
+++ tools/winapi/winapi_parser.pm 2 Dec 2005 07:29:36 -0000
@@ -450,7 +450,7 @@ sub parse_c_file($$) {
(?:short\s+(?=int)|long\s+(?=int))?)?\w+)\s*
((?:const|volatile)?\s*(?:\*\s*(?:const|volatile)?\s*?)*)\s*
(?:__cdecl\s+|__stdcall\s+|__RPC_STUB\s+|__RPC_USER\s+|CALLBACK\s+|CDECL\s+|NET_API_FUNCTION\s+|RPC_ENTRY\s+|STDMETHODCALLTYPE\s+|VFWAPIV\s+|VFWAPI\s+|WINAPIV\s+|WINAPI\s+)?
- \(\s*(?:__cdecl|__stdcall|__RPC_STUB|__RPC_USER\s+|CALLBACK|CDECL|NET_API_FUNCTION|RPC_ENTRY|STDMETHODCALLTYPE|VFWAPIV|VFWAPI|WINAPIV|WINAPI)?\s*\*\s*((?:\w+)?)\s*\)\s*
+ \(\s*(?:__cdecl|__stdcall|__RPC_STUB|__RPC_USER|CALLBACK|CDECL|NET_API_FUNCTION|RPC_ENTRY|STDMETHODCALLTYPE|VFWAPIV|VFWAPI|WINAPIV|WINAPI)?\s*\*\s*((?:\w+)?)\s*\)\s*
\(\s*(.*?)\s*\)$/x)
{
my $return_type = $1;
More information about the wine-patches
mailing list