32 #if !defined(LUTOK_STACK_CLEANER_HPP)
33 #define LUTOK_STACK_CLEANER_HPP
37 #include <lutok/state.hpp>
75 std::unique_ptr< impl >
_pimpl;
93 #endif // !defined(LUTOK_STACK_CLEANER_HPP)
A RAII model for the Lua state.
Definition: state.hpp:76
void forget(void)
Forgets about any elements currently in the stack.
Definition: stack_cleaner.cpp:88
Internal implementation for lutok::stack_cleaner.
Definition: stack_cleaner.cpp:37
stack_cleaner & operator=(const stack_cleaner &)
Disallow assignment.
~stack_cleaner(void)
Pops any values from the stack not known at construction time.
Definition: stack_cleaner.cpp:72
std::unique_ptr< impl > _pimpl
Pointer to the shared internal implementation.
Definition: stack_cleaner.hpp:72
stack_cleaner(const stack_cleaner &)
Disallow copies.
Definition: c_gate.hpp:37
A RAII model for values on the Lua stack.
Definition: stack_cleaner.hpp:71