Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Asserts that the Lua stack has the same amount of entries when this object is destructed, as when it was constructed. More...
#include <LuaState.h>
Public Member Functions | |
cStackBalanceCheck (const char *a_FileName, int a_LineNum, lua_State *a_LuaState, bool a_ShouldLogStack=true) | |
~cStackBalanceCheck () noexcept(false) | |
Protected Attributes | |
const AString | m_FileName |
int | m_LineNum |
lua_State * | m_LuaState |
int | m_StackPos |
Asserts that the Lua stack has the same amount of entries when this object is destructed, as when it was constructed.
Used for checking functions that should preserve Lua stack balance.
Definition at line 62 of file LuaState.h.
|
inline |
Definition at line 65 of file LuaState.h.
|
inlinenoexcept |
Definition at line 79 of file LuaState.h.
|
protected |
Definition at line 94 of file LuaState.h.
|
protected |
Definition at line 95 of file LuaState.h.
|
protected |
Definition at line 96 of file LuaState.h.
|
protected |
Definition at line 97 of file LuaState.h.