Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Makes sure that the Lua state's stack has the same number of elements on destruction as it had on construction of this object (RAII). More...
#include <LuaState.h>
Public Member Functions | |
cStackBalancePopper (cLuaState &a_LuaState) | |
~cStackBalancePopper () noexcept(false) | |
Protected Attributes | |
int | m_Count |
cLuaState & | m_LuaState |
Makes sure that the Lua state's stack has the same number of elements on destruction as it had on construction of this object (RAII).
Can only remove elements, if there are less than expected, throws.
Definition at line 110 of file LuaState.h.
|
inline |
Definition at line 113 of file LuaState.h.
|
inlinenoexcept |
Definition at line 119 of file LuaState.h.
|
protected |
Definition at line 138 of file LuaState.h.
|
protected |
Definition at line 137 of file LuaState.h.