#include "lugre_prefix.h"#include "lugre_scripting.h"#include "lugre_fifo.h"#include "lugre_luabind.h"#include "lugre_luabind_direct.h"#include "lua.h"#include "lauxlib.h"#include "lualib.h"

Go to the source code of this file.
Namespaces | |
| namespace | Lugre |
Classes | |
| class | Lugre::cFIFO_L |
Defines | |
| #define | FIFO_STATIC_PUSH(methodName, paramcode) |
| #define | FIFO_STATIC_POP(methodName, luaPushFun, datatypecast, paramcode) |
| #define | FIFO_STATIC_PEEK(methodName, luaPushFun, datatypecast) |
| #define | REGISTER_METHOD(methodname) mlMethod.push_back(make_luaL_reg(#methodname,&cFIFO_L::methodname)); |
Functions | |
| void * | RobLuaFIFOToVoidPtr (lua_State *L, int index) |
| for swig binding (bullet-heightfield data) | |
| void | Lugre::LuaRegisterFIFO (lua_State *L) |
| lua binding | |
| #define FIFO_STATIC_PEEK | ( | methodName, | |||
| luaPushFun, | |||||
| datatypecast | ) |
Value:
{ class cFIFOTemp { public: \
static int methodName (lua_State *L) { \
luaPushFun(L,datatypecast ((cFIFO*)lua_touserdata(L,1))->methodName ( luaL_checkint(L,2) ) );\
return 1; \
} \
}; \
lua_register(L,"FIFO_" #methodName,&cFIFOTemp::methodName); \
}
Referenced by Lugre::cFIFO_L::RegisterMethods().
| #define FIFO_STATIC_POP | ( | methodName, | |||
| luaPushFun, | |||||
| datatypecast, | |||||
| paramcode | ) |
Value:
{ class cFIFOTemp { public: \
static int methodName (lua_State *L) { int paramidx = 2; \
luaPushFun(L,datatypecast ((cFIFO*)lua_touserdata(L,1))->methodName paramcode );\
return 1; \
} \
}; \
lua_register(L,"FIFO_" #methodName,&cFIFOTemp::methodName); \
}
Referenced by Lugre::cFIFO_L::RegisterMethods().
| #define FIFO_STATIC_PUSH | ( | methodName, | |||
| paramcode | ) |
Value:
{ class cFIFOTemp { public: \
static int methodName (lua_State *L) { int paramidx = 2; \
((cFIFO*)lua_touserdata(L,1))->methodName paramcode ; \
return 0; \
} \
}; \
lua_register(L,"FIFO_" #methodName,&cFIFOTemp::methodName); \
}
Referenced by Lugre::cFIFO_L::RegisterMethods().
| #define REGISTER_METHOD | ( | methodname | ) | mlMethod.push_back(make_luaL_reg(#methodname,&cFIFO_L::methodname)); |
| void* RobLuaFIFOToVoidPtr | ( | lua_State * | L, | |
| int | index | |||
| ) |
for swig binding (bullet-heightfield data)
Definition at line 16 of file lugre_fifo_L.cpp.
References Lugre::cFIFO::HackGetRawReader().
1.5.6