
The implementation allows C++ code to access Lua objects such as numbers To expose Lua objects to C++, a class called LuaRef is provided. Lua C API calls necessary to export your program's classes and functions to ItĬontains template code to automatically generate at compile-time the various The API is based on C++ template metaprogramming. Because Lua is weakly typed, the resulting LuaBridge is easy to integrate.Ĭ++ concepts like variables and classes are made available to Lua through a There are no additional source files, no compilation settings, and no Pass functions, classes, and variables back and forth between C++ and Lua. One line, #include "LuaBridge/LuaBridge.h" where you want to LuaBridge is distributed as a a collection of header files. Written in a clear and easy to debug style.Easy access to Lua objects like tables and functions.Automatic function parameter type binding.Convenient, type-safe access to the Lua stack.Supports different object lifetime management models.


2.2 - Data, Properties, Functions, and CFunctions.
