Closed edwintorok closed 8 years ago
Not sure I understand what this is about. Do I need to do something special ?
I think passing ~abi:Libffi_abi.stdcall
to foreign
should be sufficient.
I think passing ~abi:Libffi_abi.stdcall to foreign should be sufficient.
Thanks Jeremie. Only on windows I guess ?
Yes. Explicitly passing Libffi_abi.default_abi
on other platforms might make it easier to conditionalize.
For porting to windows support for stdcall is required in ctypes: https://github.com/ocamllabs/ocaml-ctypes/issues/121