#include <sol.hpp>
§ stack_guard() [1/2]
sol::stack_guard::stack_guard |
( |
lua_State * |
L | ) |
|
|
inline |
lua_State * L
Definition: sol.hpp:7117
stack_guard(lua_State *L)
Definition: sol.hpp:7121
§ stack_guard() [2/2]
int top
Definition: sol.hpp:7118
std::function< void(int, int)> on_mismatch
Definition: sol.hpp:7119
lua_State * L
Definition: sol.hpp:7117
§ ~stack_guard()
sol::stack_guard::~stack_guard |
( |
| ) |
|
|
inline |
bool check_stack(int modification=0) const
Definition: sol.hpp:7127
§ check_stack()
bool sol::stack_guard::check_stack |
( |
int |
modification = 0 | ) |
const |
|
inline |
7128 int bottom = lua_gettop(
L) + modification;
7129 if (
top == bottom) {
int top
Definition: sol.hpp:7118
std::function< void(int, int)> on_mismatch
Definition: sol.hpp:7119
lua_State * L
Definition: sol.hpp:7117
lua_State* sol::stack_guard::L |
§ on_mismatch
§ top
int sol::stack_guard::top |
The documentation for this struct was generated from the following file: