Namespaces | Defines | Functions

_src_lua_bind_macros_program.cc File Reference

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

#include "base/module.hh"
#include "math/module.hh"
#include "math/matrix_defs.hh"
#include "world/defs.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_PROGRAM_CC   1

Functions

RGBA lua::bind::POP_RGBA (lua_State *L)
Rect< int > lua::bind::POP_TABLE_INTO_RECT (lua_State *L)
void lua::bind::POP_TABLE_INTO_MATRIX (lua_State *L, Matrix &matrix)
void lua::bind::PUSH_TABLE_FROM_MATRIX (lua_State *L, const Matrix &matrix)

Detailed Description

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

LastChangedDate:
2011-08-20 12:07:38 -0400 (Sat, 20 Aug 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_PROGRAM_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