![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
A RAII class for values pushed onto the Lua stack. More...
#include <LuaState.h>
Public Member Functions | |
cStackValue (void) | |
cStackValue (cLuaState &a_LuaState) | |
cStackValue (cStackValue &&a_Src) | |
bool | IsValid (void) const |
void | Set (cLuaState &a_LuaState) |
~cStackValue () CAN_THROW | |
Protected Member Functions | |
cStackValue (const cStackValue &)=delete | |
Protected Attributes | |
lua_State * | m_LuaState |
int | m_StackLen |
Used for debugging, Lua state's stack size is checked against this number to make sure it is the same as when the value was pushed. More... | |
A RAII class for values pushed onto the Lua stack.
Will pop the value off the stack in the destructor.
Definition at line 458 of file LuaState.h.
|
inline |
Definition at line 461 of file LuaState.h.
|
inline |
Definition at line 466 of file LuaState.h.
|
inline |
Definition at line 472 of file LuaState.h.
|
inline |
Definition at line 480 of file LuaState.h.
|
protecteddelete |
|
inline |
Definition at line 495 of file LuaState.h.
|
inline |
Definition at line 489 of file LuaState.h.
|
protected |
Definition at line 501 of file LuaState.h.
|
protected |
Used for debugging, Lua state's stack size is checked against this number to make sure it is the same as when the value was pushed.
Definition at line 505 of file LuaState.h.