Godot Foreigner addon (libffi/Foreign Function Interface) example project. || An (infrequently updated) mirror of: https://gitlab.com/RancidBacon/godot-foreigner-export-demo
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:
LICENSE
License for bundled Foreigner library binaries (currently based on
this branch):
licenses/LICENSE.foreigner
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.