Re: Preliminary libffi progress
- Posted by Icy_Viking Sep 26, 2022
- 1657 views
ghaberek said...
As promised, here's the current working code: https://github.com/ghaberek/libffi-euphoria. I've included Win32 and Win64 binaries for raylib and libffi and a couple of working raylib demos.
You should be able to run the raylib demos on Windows with the following steps. More work is need to get going on Linux but AFAICT libffi is in the Debian repos so "apt install libffi" should work.
git clone https://github.com/ghaberek/libffi-euphoria cd libffi-euphoria copy bin\win64\*.dll C:\Euphoria\bin eui examples\core_basic_window.ex
-Greg
Thanks Greg. If I can understand the code base well enough I wouldn't mind helping you out with this. This might work better than having a struct function. Though I do think Euphoria would benefit from a struct type of some kind.