dbuenzli / tgls

Thin bindings to OpenGL {3,4} and OpenGL ES {2,3} for OCaml
http://erratique.ch/software/tgls/
ISC License
54 stars 7 forks source link

Needs stdcall support for win* #1

Closed edwintorok closed 8 years ago

edwintorok commented 10 years ago

For porting to windows support for stdcall is required in ctypes: https://github.com/ocamllabs/ocaml-ctypes/issues/121

dbuenzli commented 8 years ago

Not sure I understand what this is about. Do I need to do something special ?

yallop commented 8 years ago

I think passing ~abi:Libffi_abi.stdcall to foreign should be sufficient.

dbuenzli commented 8 years ago

I think passing ~abi:Libffi_abi.stdcall to foreign should be sufficient.

Thanks Jeremie. Only on windows I guess ?

yallop commented 8 years ago

Yes. Explicitly passing Libffi_abi.default_abi on other platforms might make it easier to conditionalize.