Tutorial code for Lua and C++ integration
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
lua Adds callback example May 11, 2016
.gitignore Readies for Linux May 14, 2016
Makefile Readies for Linux May 14, 2016
README.md Readies for Linux May 14, 2016
callback.cpp Adds C linkage May 11, 2016
first.cpp Readies for Linux May 14, 2016
runlua.cpp Makes the program C-compatible May 10, 2016


Using Lua with C++

This repository contains the code from the blog post at https://csl.name/post/lambda-macros-continuations/

Building the examples

You can either edit the Makefile to adjust things like include paths, or you can run

$ LUA_ROOT=/usr/local make -e

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 "Using Lua with C++ — A short tutorial". This work is published from: Norway.