EduardoRFS / reason-mobile

MIT License
175 stars 10 forks source link

Patch for `ctypes.foreign` #9

Open jfrolich opened 3 years ago

jfrolich commented 3 years ago

This would allow dynamic bindings using libffi, which are probably the best way to bind to Objective-C.

EduardoRFS commented 3 years ago

https://github.com/EduardoRFS/reason-mobile/commit/e764321420a31ab91b1f783c5bc4711308851cab

Added @esy-ocaml/libffi, as ctypes doesn't use dune, there is a shell script to be done and maybe a patch to properly detect libffi, hopefully for tomorrow I can get this to work

EduardoRFS commented 3 years ago

https://github.com/EduardoRFS/reason-mobile/commit/f03a0e6ebad32d9a89cb87fe921a41ab18b7f6f5

Should be working now, can you try it on iOS?