nngn
Loading...
Searching...
No Matches
nngn::lua::defer_pop Class Reference

Pops n values from the Lua stack at scope exit. More...

#include <utils.h>

Public Member Functions

 defer_pop (lua_State *L_, int n_=1)
 
 ~defer_pop (void)
 
void set_n (int n_)
 

Private Attributes

lua_State * L
 
int n
 

Detailed Description

Pops n values from the Lua stack at scope exit.

Constructor & Destructor Documentation

◆ defer_pop()

nngn::lua::defer_pop::defer_pop ( lua_State * L_,
int n_ = 1 )
inlineexplicit

◆ ~defer_pop()

nngn::lua::defer_pop::~defer_pop ( void )
inline

Member Function Documentation

◆ set_n()

void nngn::lua::defer_pop::set_n ( int n_)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ L

lua_State* nngn::lua::defer_pop::L
private

◆ n

int nngn::lua::defer_pop::n
private

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