Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

lua_State Struct Reference

#include <lua/lstate.h>

Collaboration diagram for lua_State:

Collaboration graph
[legend]

Data Fields

GCObjectnext
lu_byte tt
lu_byte marked
StkId top
StkId base
global_Statel_G
CallInfoci
StkId stack_last
StkId stack
int stacksize
CallInfoend_ci
CallInfobase_ci
unsigned short size_ci
unsigned short nCcalls
lu_byte hookmask
lu_byte allowhook
lu_byte hookinit
int basehookcount
int hookcount
lua_Hook hook
TObject _gt
GCObjectopenupval
GCObjectgclist
lua_longjmperrorJmp
ptrdiff_t errfunc

Detailed Description

Definition at line 139 of file lstate.h.


Field Documentation

TObject lua_State::_gt
 

Definition at line 167 of file lstate.h.

lu_byte lua_State::allowhook
 

Definition at line 161 of file lstate.h.

Referenced by luaC_callGCTM(), luaD_callhook(), luaD_pcall(), and preinit_state().

StkId lua_State::base
 

Definition at line 144 of file lstate.h.

Referenced by correctstack(), lua_checkstack(), lua_close(), lua_concat(), lua_gettop(), lua_pushupvalues(), lua_resume(), lua_settop(), luaA_index(), luaA_indexAcceptable(), luaD_pcall(), luaD_poscall(), luaD_precall(), luaG_typeerror(), luaO_pushvfstring(), luaV_concat(), luaV_execute(), negindex(), resume(), and stack_init().

CallInfo* lua_State::base_ci
 

Definition at line 157 of file lstate.h.

Referenced by checkstacksizes(), correctstack(), freestack(), lua_close(), lua_getinfo(), lua_getlocal(), lua_getstack(), lua_resume(), lua_setlocal(), luaD_callhook(), luaD_reallocCI(), luaG_inithooks(), preinit_state(), restore_stack_limit(), resume(), stack_init(), and traversestack().

int lua_State::basehookcount
 

Definition at line 163 of file lstate.h.

Referenced by lua_gethookcount(), lua_sethook(), and preinit_state().

CallInfo* lua_State::ci
 

Definition at line 148 of file lstate.h.

Referenced by addinfo(), callrethooks(), checkstacksizes(), correctstack(), lua_checkstack(), lua_close(), lua_getstack(), lua_resume(), lua_yield(), luaD_call(), luaD_callhook(), luaD_pcall(), luaD_poscall(), luaD_precall(), luaD_reallocCI(), luaG_inithooks(), luaG_typeerror(), luaV_execute(), preinit_state(), restore_stack_limit(), resume(), resume_error(), stack_init(), and traceexec().

CallInfo* lua_State::end_ci
 

Definition at line 155 of file lstate.h.

Referenced by luaD_precall(), luaD_reallocCI(), and stack_init().

ptrdiff_t lua_State::errfunc
 

Definition at line 174 of file lstate.h.

Referenced by lua_close(), luaD_pcall(), luaG_errormsg(), and preinit_state().

struct lua_longjmp* lua_State::errorJmp
 

Definition at line 173 of file lstate.h.

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

GCObject* lua_State::gclist
 

Definition at line 171 of file lstate.h.

Referenced by lua_open(), and propagatemarks().

lua_Hook lua_State::hook
 

Definition at line 166 of file lstate.h.

Referenced by lua_gethook(), lua_sethook(), luaD_callhook(), and preinit_state().

int lua_State::hookcount
 

Definition at line 164 of file lstate.h.

Referenced by luaV_execute(), and traceexec().

lu_byte lua_State::hookinit
 

Definition at line 162 of file lstate.h.

Referenced by lua_sethook(), luaG_inithooks(), preinit_state(), and traceexec().

lu_byte lua_State::hookmask
 

Definition at line 160 of file lstate.h.

Referenced by lua_gethookmask(), lua_sethook(), luaD_poscall(), luaD_precall(), luaV_execute(), preinit_state(), and traceexec().

global_State* lua_State::l_G
 

Definition at line 146 of file lstate.h.

Referenced by lua_open(), and luaE_newthread().

lu_byte lua_State::marked
 

Definition at line 140 of file lstate.h.

Referenced by lua_open().

unsigned short lua_State::nCcalls
 

Definition at line 159 of file lstate.h.

Referenced by lua_close(), lua_yield(), luaD_call(), luaD_pcall(), and preinit_state().

GCObject* lua_State::next
 

Definition at line 140 of file lstate.h.

Referenced by lua_open().

GCObject* lua_State::openupval
 

Definition at line 169 of file lstate.h.

Referenced by correctstack(), luaE_freethread(), luaF_close(), luaF_findupval(), luaV_execute(), and preinit_state().

unsigned short lua_State::size_ci
 

Definition at line 158 of file lstate.h.

Referenced by checkstacksizes(), freestack(), luaD_growCI(), luaD_precall(), luaD_reallocCI(), preinit_state(), restore_stack_limit(), and stack_init().

StkId lua_State::stack
 

Definition at line 152 of file lstate.h.

Referenced by close_state(), correctstack(), freestack(), lua_close(), luaD_reallocstack(), luaE_freethread(), luaV_execute(), preinit_state(), restore_stack_limit(), stack_init(), and traversestack().

StkId lua_State::stack_last
 

Definition at line 150 of file lstate.h.

Referenced by luaD_reallocstack(), restore_stack_limit(), stack_init(), and traversestack().

int lua_State::stacksize
 

Definition at line 153 of file lstate.h.

Referenced by freestack(), luaD_growstack(), luaD_reallocstack(), luaV_execute(), preinit_state(), restore_stack_limit(), and stack_init().

StkId lua_State::top
 

Definition at line 142 of file lstate.h.

Referenced by adjust_varargs(), auxgetinfo(), call_binTM(), call_orderTM(), callTM(), callTMres(), correctstack(), do1gcTM(), f_Ccall(), f_parser(), info_tailcall(), lua_call(), lua_checkstack(), lua_close(), lua_concat(), lua_cpcall(), lua_dump(), lua_getfenv(), lua_getinfo(), lua_getmetatable(), lua_gettable(), lua_gettop(), lua_getupvalue(), lua_insert(), lua_newtable(), lua_newthread(), lua_newuserdata(), lua_next(), lua_pcall(), lua_pushboolean(), lua_pushcclosure(), lua_pushlightuserdata(), lua_pushlstring(), lua_pushnil(), lua_pushnumber(), lua_pushupvalues(), lua_pushvalue(), lua_rawget(), lua_rawgeti(), lua_rawset(), lua_rawseti(), lua_remove(), lua_replace(), lua_resume(), lua_setfenv(), lua_setlocal(), lua_setmetatable(), lua_settable(), lua_settop(), lua_setupvalue(), lua_xmove(), luaA_indexAcceptable(), luaA_pushobject(), luaC_callGCTM(), luaD_callhook(), luaD_poscall(), luaD_precall(), luaD_protectedparser(), luaO_pushvfstring(), luaV_equalval(), luaV_execute(), pushstr(), resume(), resume_error(), seterrorobj(), stack_init(), and traversestack().

lu_byte lua_State::tt
 

Definition at line 140 of file lstate.h.

Referenced by lua_open().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 27 22:20:40 2016 for rpm by  doxygen 1.4.4