Skip to content

coderc264/Lua-Adapter

 
 

Repository files navigation

Lua-Adapter

Use this lightweight wrapper- / adapter-class as an interface between Lua and C++.

Usage:

  LuaAdapter lua{"test.lua"};

  int width {0};
  lua.Get("width", width);  // width=600

» see test.cpp for more examples

Compile & test:

  g++ LuaAdapter.cpp test.cpp -std=c++0x -llua -ldl -Wall

Requirements: Download and install Lua.

About

lightweight Lua - C++ Adapter/wrapper

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.7%
  • Lua 2.3%