Loading a shared C++ library from LuaJIT through FFI
This repository contains the code for a tutorial on using LuaJIT's FFI to load a shared library. The shared library here is written in C++, so we need to do some tricks to get it working.
Building the examples
make, optionally using
make -e to use environment variables to
Author and license
The code in this repository has been placed in the public domain:
To the extent possible under law, Christian Stigen Larsen has waived all copyright and related or neighboring rights to the code for "luajit-cpp". This work is published from: Norway.