The Battle for Wesnoth  1.15.1+dev
Public Attributes | List of all members
lua_State Struct Reference

#include <lstate.h>

Public Attributes

 CommonHeader
 
unsigned short nci
 
lu_byte status
 
StkId top
 
global_Statel_G
 
CallInfoci
 
const Instructionoldpc
 
StkId stack_last
 
StkId stack
 
UpValopenupval
 
GCObjectgclist
 
struct lua_Statetwups
 
struct lua_longjmperrorJmp
 
CallInfo base_ci
 
volatile lua_Hook hook
 
ptrdiff_t errfunc
 
int stacksize
 
int basehookcount
 
int hookcount
 
unsigned short nny
 
unsigned short nCcalls
 
l_signalT hookmask
 
lu_byte allowhook
 

Detailed Description

Definition at line 178 of file lstate.h.

Member Data Documentation

◆ allowhook

lu_byte lua_State::allowhook

Definition at line 201 of file lstate.h.

Referenced by GCTM(), lua_pcallk(), luaD_hook(), luaD_pcall(), preinit_thread(), and recover().

◆ base_ci

CallInfo lua_State::base_ci

Definition at line 192 of file lstate.h.

Referenced by freestack(), lua_getstack(), lua_resume(), stack_init(), and unroll().

◆ basehookcount

int lua_State::basehookcount

Definition at line 196 of file lstate.h.

Referenced by lua_gethookcount(), lua_newthread(), lua_sethook(), and preinit_thread().

◆ ci

CallInfo* lua_State::ci

◆ CommonHeader

lua_State::CommonHeader

Definition at line 179 of file lstate.h.

◆ errfunc

ptrdiff_t lua_State::errfunc

◆ errorJmp

struct lua_longjmp* lua_State::errorJmp

Definition at line 191 of file lstate.h.

Referenced by luaD_rawrunprotected(), luaD_throw(), and preinit_thread().

◆ gclist

GCObject* lua_State::gclist

Definition at line 189 of file lstate.h.

Referenced by propagatemark().

◆ hook

volatile lua_Hook lua_State::hook

Definition at line 193 of file lstate.h.

Referenced by lua_gethook(), lua_newthread(), lua_sethook(), luaD_hook(), and preinit_thread().

◆ hookcount

int lua_State::hookcount

Definition at line 197 of file lstate.h.

Referenced by luaG_traceexec().

◆ hookmask

l_signalT lua_State::hookmask

◆ l_G

global_State* lua_State::l_G

Definition at line 183 of file lstate.h.

◆ nCcalls

unsigned short lua_State::nCcalls

◆ nci

unsigned short lua_State::nci

◆ nny

unsigned short lua_State::nny

◆ oldpc

const Instruction* lua_State::oldpc

Definition at line 185 of file lstate.h.

Referenced by lua_sethook(), luaD_poscall(), and luaG_traceexec().

◆ openupval

UpVal* lua_State::openupval

◆ stack

StkId lua_State::stack

◆ stack_last

StkId lua_State::stack_last

Definition at line 186 of file lstate.h.

Referenced by lua_checkstack(), luaD_hook(), luaD_precall(), luaD_reallocstack(), and stack_init().

◆ stacksize

int lua_State::stacksize

◆ status

lu_byte lua_State::status

◆ top

StkId lua_State::top

◆ twups

struct lua_State* lua_State::twups

Definition at line 190 of file lstate.h.

Referenced by luaF_findupval(), preinit_thread(), remarkupvals(), and traversethread().


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