Internal implementation for lutok::stack_cleaner. More...
Public Member Functions | |
impl (state &state_ref_, const unsigned int original_depth_) | |
Constructor. | |
Public Attributes | |
state & | state_ref |
Reference to the Lua state this stack_cleaner refers to. | |
unsigned int | original_depth |
The depth of the Lua stack to be restored. |
Internal implementation for lutok::stack_cleaner.
lutok::stack_cleaner::impl::impl | ( | state & | state_ref_, |
const unsigned int | original_depth_ | ||
) | [inline] |
Constructor.
state_ref_ | Reference to the Lua state. |
original_depth_ | The depth of the Lua stack. |