ug4
ug::bridge::LuaStackCheck Class Reference

#include <lua_stack_check.h>

Public Member Functions

 LuaStackCheck (lua_State *L, const char *msg, int growth=0)
 
 ~LuaStackCheck ()
 

Private Attributes

int m_growth
 
lua_Statem_L
 
const char * m_msg
 
int m_topBefore
 

Constructor & Destructor Documentation

◆ LuaStackCheck()

ug::bridge::LuaStackCheck::LuaStackCheck ( lua_State L,
const char *  msg,
int  growth = 0 
)
inline

References m_growth, m_L, m_msg, and m_topBefore.

◆ ~LuaStackCheck()

ug::bridge::LuaStackCheck::~LuaStackCheck ( )
inline

References m_growth, m_L, m_msg, m_topBefore, and UG_ASSERT.

Member Data Documentation

◆ m_growth

int ug::bridge::LuaStackCheck::m_growth
private

Referenced by LuaStackCheck(), and ~LuaStackCheck().

◆ m_L

lua_State* ug::bridge::LuaStackCheck::m_L
private

Referenced by LuaStackCheck(), and ~LuaStackCheck().

◆ m_msg

const char* ug::bridge::LuaStackCheck::m_msg
private

Referenced by LuaStackCheck(), and ~LuaStackCheck().

◆ m_topBefore

int ug::bridge::LuaStackCheck::m_topBefore
private

Referenced by LuaStackCheck(), and ~LuaStackCheck().


The documentation for this class was generated from the following file: