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.
Type make
, optionally using make -e
to use environment variables to
override Makefile
variables.
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.