Luwra
Minimal-overhead Lua wrapper for C++
|
Enables reading/pushing for an arbitrary type. More...
#include <usertypes.hpp>
Static Public Member Functions | |
template<typename... Args> | |
static void | push (State *state, Args &&... args) |
Identical to construct<UserType>. | |
static UserType & | read (State *state, int index) |
Get a reference to a user type value on the stack. | |
Enables reading/pushing for an arbitrary type.
|
inlinestatic |
Identical to construct<UserType>.
|
inlinestatic |
Get a reference to a user type value on the stack.
state | Lua state |
index | Index of the value on the stack |