OpenMiner  0.0.1a
Voxel game engine
Public Member Functions | Public Attributes | List of all members
sol::detail::ref_clean Struct Reference

#include <sol.hpp>

Public Member Functions

 ref_clean (lua_State *luastate, int &n)
 
 ~ref_clean ()
 

Public Attributes

lua_State * L
 
int & n
 

Constructor & Destructor Documentation

§ ref_clean()

sol::detail::ref_clean::ref_clean ( lua_State *  luastate,
int &  n 
)
inline
20001  : L(luastate), n(n) {
20002  }
lua_State * L
Definition: sol.hpp:19998
int & n
Definition: sol.hpp:19999

§ ~ref_clean()

sol::detail::ref_clean::~ref_clean ( )
inline
20003  {
20004  lua_pop(L, static_cast<int>(n));
20005  }
lua_State * L
Definition: sol.hpp:19998
int & n
Definition: sol.hpp:19999

Member Data Documentation

§ L

lua_State* sol::detail::ref_clean::L

§ n

int& sol::detail::ref_clean::n

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