_thiscall Calling Convention as Specfile option or via register

Alexandre Julliard julliard at winehq.org
Tue May 13 22:44:45 CDT 2003

Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:

> as Jason noticed, in MSVCRT there is a _thiscall calling convention that
> uses the ECX register for the 'this' pointer. Should we have another
> Specfile keyword in our spec files or should the _thiscall calling
> convention be implemented via the 'register" keyword?

I don't think it can be done in the spec file, since this would break
the mingw build. If there are many of them we could create inline asm
macros to make them easier to use than with full-blown register
functions. Do we have a list of the offending functions?

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list