ug4
lua_stack_check.h File Reference

Go to the source code of this file.

Classes

class  ug::bridge::LuaStackCheck
 

Namespaces

 ug
 the ug namespace
 
 ug::bridge
 

Macros

#define LUA_STACK_CHECK(L, growth)   ::ug::bridge::LuaStackCheck check##__LINE__(L, __FILE__ ":" LUA_STACK_CHECK_TOSTRING(__LINE__), growth)
 
#define LUA_STACK_CHECK_STRINGIFY(x)   #x
 
#define LUA_STACK_CHECK_TOSTRING(x)   LUA_STACK_CHECK_STRINGIFY(x)
 

Macro Definition Documentation

◆ LUA_STACK_CHECK

#define LUA_STACK_CHECK (   L,
  growth 
)    ::ug::bridge::LuaStackCheck check##__LINE__(L, __FILE__ ":" LUA_STACK_CHECK_TOSTRING(__LINE__), growth)

◆ LUA_STACK_CHECK_STRINGIFY

#define LUA_STACK_CHECK_STRINGIFY (   x)    #x

◆ LUA_STACK_CHECK_TOSTRING

#define LUA_STACK_CHECK_TOSTRING (   x)    LUA_STACK_CHECK_STRINGIFY(x)