ghc FFI doesn't support thiscall
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler (FFI) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | lennart@augustsson.net |
| Operating system | |
| Architecture |