survivalpax.blogg.se

Lua table insert multiple values
Lua table insert multiple values






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.

lua table insert multiple values

  • No macros, settings, or configuration scripts needed.
  • Simple, light, and nothing else needed (like Boost).
  • Should work in any version of Lua from 5.1.0 and later. LuaBridge hasīeen tested and works with Lua revisions starting from 5.1.5, although it Lightweight and dependency-free library for mapping data, functions, andĬlasses back and forth between C++ and Lua,Ī powerful, fast, lightweight, embeddable scripting language.
  • Appendix - API Reference 1 - Introduction.
  • 3.3 - Pointers, References, and Pass by Value.
  • lua table insert multiple values

    2.2 - Data, Properties, Functions, and CFunctions.








    Lua table insert multiple values