Orxonox
0.0.5 Codename: Arcturus
|
Needed to get a lambda to call a lua function. More...
Static Public Member Functions | |
static std::function< void(Args...)> | value (lua_State *lua, int *ref) |
Get a lambda to call a lua function later. More... | |
Needed to get a lambda to call a lua function.
We need this class, becasue we need to specify the signature of the function before.
|
inlinestatic |
Get a lambda to call a lua function later.
lua | Pointer to the lua state |
ref | Pointer to the lua registry reference where the function is stored |