Foreigner is a Foreign
Function Interface (FFI) addon/plugin for the Godot game
engine. It wraps the libffi
FFI
library and makes the functionality
available to applications built with Godot.
This repository contains an example of how to set up a project to use Foreigner and successfully export applications (along with their supporting dynamic/shared libraries) to run on three different platforms (without additional compilation steps--assuming the shared libraries you're using are supplied as binaries):
-
Linux
-
Mac
-
Win64
Open/import the example project via the Godot Project Manager or export binaries via the Godot command line feature.
-
License for items specific/unique to this example:
- MIT: See
LICENSE
- MIT: See
-
License for bundled Foreigner library binaries (currently based on this branch):
- MIT: See
licenses/LICENSE.foreigner
- MIT: See
-
License for statically linked
libffi
:
The statically linked Foreigner shared library binaries may also contain items covered by other licenses, see the source and/or build configuration for details.