Wrapping around stdcall
frank.richter at gmail.com
Tue Jul 5 15:02:38 CDT 2005
On 05.07.2005 21:30, Marcus Meissner wrote:
>>2: initialisation from incompatible pointer type (in the vtable)
> Hmm, unclear. You would need to change the extern void THISCALL(func)(); to
> be the correct prototype.
But otoh, the vtable types really are wrong (the methods just aren't
Perhaps make the opposite change, just turn all vtable entries into type
"void (*foo);". The vtable entries wouldn't be suitable for calling from
C anyway, as you'd need to wrap them for "thiscall" again...
> Adding "thiscall" to gcc would perhaps help in the long run ... :/ Fun fun fun...
Although, 'thiscall' is a C++ calling convention, would it make that
much sense in a C context?
More information about the wine-devel