winapi: Add support for the thiscall keyword.

oldstable
Alexandre Julliard 2010-08-24 16:34:35 +02:00
parent 14072676a6
commit f756821df3
1 changed files with 1 additions and 1 deletions

View File

@ -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;