Commit Graph

21 Commits

Author SHA1 Message Date
Serge Gautherie 866f672505 winapi: Update 'perl -w' to 'use warnings 'all''.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-24 18:37:54 +02:00
Francois Gouget 1c9077f13d winapi: Skip #if 0 sections.
They are typically used as 'super comments' and may not contain C code.
They are also typically not nested so this ignores nesting.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 22:08:14 +02:00
Francois Gouget 4c554940d4 winapi: Ignore function declarations that are too complex.
A few function declarations are simply too complex for the winapi
parser. Some are because they are in fact macro calls, and other because
they mix parentheses with array declarations or strange function pointer
types.
When that happens print an error message and ignore the function
declaration.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 22:08:10 +02:00
Francois Gouget 13c69ae840 winapi: Allow DECLSPEC_ALIGN() in typedef declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 22:07:53 +02:00
Francois Gouget eb85be50f4 winapi: Tweak a couple of typedef error messages.
This makes them more unique, making it easier to find which part of the
code issues these error messages.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-14 22:07:49 +02:00
Francois Gouget b9181615a9 winapi: Add some more __stdcall synonyms.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:09:34 +01:00
Francois Gouget 5a61202f3e winapi: Add support for DECLSPEC_HOTPATCH function declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:09:30 +01:00
Francois Gouget 8304759634 winapi: Add support for GDIPCONST. 2007-06-21 13:11:15 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 9139fd140c winapi: Add support for APIENTRY.
Factorize a couple of call convention matching regular expressions.
2006-05-15 11:09:13 +02:00
Francois Gouget 964cbcbf80 winapi_check: Fix 'long int' parsing.
Fix parsing of 'long int'.
Simplify handling of spaces in a couple of regular expressions.
2006-05-10 19:41:23 +02:00
Francois Gouget 972b6ccc2e Fix __RPC_USER handling. 2005-12-02 13:01:16 +01:00
Vincent Béron 2f8f459516 Make winapi_check understand the interface keyword. 2005-12-02 11:27:13 +01:00
Vincent Béron 74ce0d363a Update win32.api to current cvs.
Add __RPC_USER as a calling convention in winapi.
2005-11-30 12:03:03 +01:00
Vincent Béron 78039be7dd volatile is legal (and used now!) in a typedef struct {}. 2005-11-04 11:39:58 +00:00
Vincent Béron eb3fec1b87 __RPC_STUB is a calling convention as well (#defined as __stdcall). 2005-11-04 11:14:41 +00:00
Francois Gouget 09108edded 'volatile' is valid everywhere where 'const' is valid. This fixes
parsing of the new InterlockedExchange() prototype.
2005-09-06 09:23:46 +00:00
Vincent Béron 7257b70718 Remove WINE_PACKED recognition.
Update various winapi parser regular expressions to let it understand
some Wine constructs.
2005-08-08 11:06:24 +00:00
Vincent Béron 06153098b8 Make winapi_check learn to parse some constructs with some rarely used
keywords.
2005-07-24 17:09:37 +00:00
Vincent Béron a9038b5584 Remove old stuff from winapi_check. 2005-07-24 16:14:49 +00:00
Hans Leidekker a764450631 Move all files from winapi_check/ to winapi/, and remove references to
winapi_check directory.  Merge winapi_check programs.
2005-05-04 09:55:17 +00:00