winapi: Add support for DECLSPEC_HOTPATCH function declarations.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2017-01-07 14:37:23 +01:00 committed by Alexandre Julliard
parent 1576dc3dd2
commit 5a61202f3e

View File

@ -381,6 +381,7 @@ sub parse_c_file($$) {
next;
} elsif(/(extern\s+|static\s+)?((interface\s+|struct\s+|union\s+|enum\s+|signed\s+|unsigned\s+)?\w+((\s*\*)+\s*|\s+))
(($CALL_CONVENTION)\s+)?
(?:DECLSPEC_HOTPATCH\s+)?
(\w+(\(\w+\))?)\s*\((.*?)\)\s*(\{|\;)/sx)
{
my @lines = split(/\n/, $&);