winapi: Add support for the thiscall keyword.
This commit is contained in:
parent
14072676a6
commit
f756821df3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue