_src_lua_bind_macros.hh File Reference

Macros to simplify glue code between C++ and Lua. More...

#include "lua_bind/macros_generic.hh"
#include "lua_bind/macros_program.hh"

Go to the source code of this file.


Detailed Description

Macros to simplify glue code between C++ and Lua.

LastChangedDate:
2010-05-02 15:12:55 -0400 (Sun, 02 May 2010)
Author:
Jim E. Brooks http://www.palomino3d.org
Remarks:
module.txt documents how to export new C++ classes to Lua. Avoid using names such as LUA_* which Lua itself uses. Rather, write "lua::" to solve any naming conflicts. ------------------------------------------------------------------------------ REMEMBER: Indexs of tables passed between C++ and Lua must be ## ZERO-BASED ##. Lua scripts must define special Lua classes such as Vec3 with zero-based indexs because passing array-like one-based Lua tables to zero-based C++ is wrong. ------------------------------------------------------------------------------
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:10