Commit f756821d authored by Alexandre Julliard's avatar Alexandre Julliard

winapi: Add support for the thiscall keyword.

parent 14072676
......@@ -281,7 +281,7 @@ sub parse_spec_file($$) {
my $ordinal;
my $ARCHES="alpha|i386|powerpc|sparc|win32|win64|x86_64";
if(/^(\d+|@)\s+
(cdecl|pascal|stdcall|varargs)\s+
(cdecl|pascal|stdcall|varargs|thiscall)\s+
((?:(?:-arch=(?:$ARCHES)(?:,(?:$ARCHES))*|-noname|-norelay|-ordinal|-i386|-ret16|-ret64|-register|-interrupt|-private)\s+)*)(\S+)\s*\(\s*(.*?)\s*\)\s*(\S*)$/x)
{
my $calling_convention = $2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment