Public Member Functions | Public Attributes | List of all members
sol::stack_guard Struct Reference

#include <sol.hpp>

Public Member Functions

bool check_stack (int modification=0) const
 
 stack_guard (lua_State *L)
 
 stack_guard (lua_State *L, int top, std::function< void(int, int)> fx=detail::stack_fail)
 
 ~stack_guard ()
 

Public Attributes

lua_StateL
 
std::function< void(int, int)> on_mismatch
 
int top
 

Detailed Description

Definition at line 10896 of file sol.hpp.

Constructor & Destructor Documentation

◆ stack_guard() [1/2]

sol::stack_guard::stack_guard ( lua_State L)
inline

Definition at line 10901 of file sol.hpp.

◆ stack_guard() [2/2]

sol::stack_guard::stack_guard ( lua_State L,
int  top,
std::function< void(int, int)>  fx = detail::stack_fail 
)
inline

Definition at line 10903 of file sol.hpp.

◆ ~stack_guard()

sol::stack_guard::~stack_guard ( )
inline

Definition at line 10913 of file sol.hpp.

Member Function Documentation

◆ check_stack()

bool sol::stack_guard::check_stack ( int  modification = 0) const
inline

Definition at line 10905 of file sol.hpp.

Member Data Documentation

◆ L

lua_State* sol::stack_guard::L

Definition at line 10897 of file sol.hpp.

◆ on_mismatch

std::function<void(int, int)> sol::stack_guard::on_mismatch

Definition at line 10899 of file sol.hpp.

◆ top

int sol::stack_guard::top

Definition at line 10898 of file sol.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:31