Alexandre Julliard : winapi: Add support for the thiscall keyword.

Alexandre Julliard julliard at winehq.org
Tue Aug 24 11:09:26 CDT 2010


Module: wine
Branch: master
Commit: f756821df3dd332705018e81bac4e41129f1525a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f756821df3dd332705018e81bac4e41129f1525a

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Aug 24 16:34:35 2010 +0200

winapi: Add support for the thiscall keyword.

---

 tools/winapi/winapi.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winapi/winapi.pm b/tools/winapi/winapi.pm
index dcd9268..928476d 100644
--- a/tools/winapi/winapi.pm
+++ b/tools/winapi/winapi.pm
@@ -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;




More information about the wine-cvs mailing list