Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Type make, optionally using make -e to use environment variables to override Makefile variables.

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.

About

Example C++ shared library loaded in LuaJIT through FFI

Resources

Releases

No releases published

Packages

No packages published