[Mono-dev] Patch for 'thiscall' call convention on windows
Argiris Kirtzidis
akyrtzi at gmail.com
Wed Jan 10 21:44:48 EST 2007
Hi,
I have attached a patch to 'mono/mini/mini-x86.c' that allows Mono JIT to handle ThisCall convention on windows.correctly.
This allows for interop/pinvoke with visual c++ compiled classes/methods. (For GCC cygwin/mingw 'Cdecl' should be used)
The changes are in effect only on the x86 Windows platform and for methods that are marked with 'thiscall'.
Please review the patch and if you have any questions / suggestions let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070110/c2f7820b/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thiscall_fix.patch
Type: application/octet-stream
Size: 3852 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070110/c2f7820b/attachment.obj
More information about the Mono-devel-list
mailing list