Namespaces | Defines | Functions

_src_lua_bind_macros_generic.cc File Reference

Macros/functions to assist and simplify writing glue code between C++ and Lua. More...

#include "base/module.hh"
#include "lua_bind/module.hh"
#include "lua_bind/bind.hh"

Namespaces

namespace  lua
 

Lua main namespace.


namespace  lua::bind
 

Interface (bindings) between C++ and Lua scripts (include "lua_bind/bind.hh").


Defines

#define LUABIND_MACROS_GENERIC_CC   1

Functions

void lua::bind::REGISTER_BINDING (lua_State *L, const char *metaTableName, const char *className, const struct luaL_reg methodTable[])

Detailed Description

Macros/functions to assist and simplify writing glue code between C++ and Lua.

LastChangedDate:
2011-03-16 11:12:21 -0400 (Wed, 16 Mar 2011)
Author:
Jim E. Brooks http://www.palomino3d.org
Remarks:
Indeed, macros.cc is a C++ file. ------------------------------------------------------------------------------ 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. ------------------------------------------------------------------------------

Define Documentation

#define LUABIND_MACROS_GENERIC_CC   1
 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