foreigner
foreigner copied to clipboard
FFI library for Godot, built with GDNative
### Current status * I've been intermittently following the development of `GDExtension` (the replacement for `GDNative` in Godot 4.0) since pre-alpha days. * While there has been some recent improvement/forward...
_[Apologies for lack of updates from me, gonna try to do a brain dump into some issues now.]_ * TODO: - [ ] Populate current status update issue. (Include: maintenance;...
Refactors & extends Makefile to enable building on Mac. Not yet re-tested on Linux. Still need/plan to do that. I've got the Foreigner test running successfully on a Mac but...
I'm currently working on: * Some additional examples with various shared libraries. * An [example project](https://gitlab.com/RancidBacon/godot-foreigner-export-demo/) to show how to configure export presets & show what additional code is (currently)...
Need to document this further but due to a bug/incompatibility between Godot 3.2 & `godot-cpp` when using `Ref`, Foreigner is broken when built against `godot-cpp` `3.2` branch. The good news...
Adds Windows cross-compiling on Linux support to my earlier Mac build PR (although I still need to verify I didn't break anything in that :) ), also: * Fixes an...
Creating this issue as a way to keep track of adding support for more Godot argument types: * `PoolByteArray` -- see: https://github.com/and3rson/foreigner/pull/1
#### Progress so far Primarily just a placeholder issue for now but wanted to mention that after further investigation I've gotten some hacky buffer support working--which can be made even...
Thanks for your work on this library--I think it's a really useful tool for adding additional functionality to Godot. I've *finally* recently gotten into working on one of the projects...
Re: [`src/crossplatform.cpp`](https://github.com/and3rson/foreigner/blob/cd1c9aee8c920990c989f103e2ebe6c525f5a414/src/crossplatform.cpp) ### Existing Godot dynamic library loading functionality At some point I discovered that Godot already has abstracted/cross-platform dynamic library loading & symbol lookup functionality (including special handling for...