#3052: ghc FFI doesn't support thiscall
---------------------+------------------------------------------------------
Reporter: augustss | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler (FFI)
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Windows | Architecture: x86
---------------------+------------------------------------------------------
The ghc FFI does not support the "thiscall" calling convention.
This is the calling convention used by Microsoft C++ for calling methods.
It's like the stdcall calling convention, except that the "this" pointer
is passed in ECX.
Without this calling convention it's impossible to interact with (Msft)
C++ objects.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3052>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs