25 #ifndef AURORA_LUA_UTIL_H 26 #define AURORA_LUA_UTIL_H 53 static int function(lua_State *state) {
59 T*
object = getCppObjectFromStack<T>(stack, 1);
70 #define LUA_DEFAULT_DELETER(Type) ::Aurora::Lua::DefaultDeleter<Type>::function 72 #endif // AURORA_LUA_UTIL_H void * getRawCppObjectFromVariable(const Variable &var)
T * getCppObjectFromVariable(const Variable &var)
int getSize() const
Return the number of elements in the stack.
T * getCppObjectFromStack(const Stack &stack, int index)
void * getRawCppObjectFromStack(const Stack &stack, int index)