The Battle for Wesnoth  1.15.11+dev
Public Attributes | List of all members
global_State Struct Reference

#include <lstate.h>

Public Attributes

lua_Alloc frealloc
 
void * ud
 
l_mem totalbytes
 
l_mem GCdebt
 
lu_mem GCestimate
 
lu_mem lastatomic
 
stringtable strt
 
TValue l_registry
 
TValue nilvalue
 
unsigned int seed
 
lu_byte currentwhite
 
lu_byte gcstate
 
lu_byte gckind
 
lu_byte genminormul
 
lu_byte genmajormul
 
lu_byte gcrunning
 
lu_byte gcemergency
 
lu_byte gcpause
 
lu_byte gcstepmul
 
lu_byte gcstepsize
 
GCObjectallgc
 
GCObject ** sweepgc
 
GCObjectfinobj
 
GCObjectgray
 
GCObjectgrayagain
 
GCObjectweak
 
GCObjectephemeron
 
GCObjectallweak
 
GCObjecttobefnz
 
GCObjectfixedgc
 
GCObjectsurvival
 
GCObjectold1
 
GCObjectreallyold
 
GCObjectfirstold1
 
GCObjectfinobjsur
 
GCObjectfinobjold1
 
GCObjectfinobjrold
 
struct lua_Statetwups
 
lua_CFunction panic
 
struct lua_Statemainthread
 
TStringmemerrmsg
 
TStringtmname [TM_N]
 
struct Tablemt [LUA_NUMTAGS]
 
TStringstrcache [STRCACHE_N][STRCACHE_M]
 
lua_WarnFunction warnf
 
void * ud_warn
 

Detailed Description

Definition at line 219 of file lstate.h.

Member Data Documentation

◆ allgc

GCObject* global_State::allgc

◆ allweak

GCObject* global_State::allweak

◆ currentwhite

lu_byte global_State::currentwhite

Definition at line 230 of file lstate.h.

Referenced by atomic(), and lua_newstate().

◆ ephemeron

GCObject* global_State::ephemeron

◆ finobj

GCObject* global_State::finobj

◆ finobjold1

GCObject* global_State::finobjold1

Definition at line 256 of file lstate.h.

Referenced by atomic2gen(), enterinc(), lua_newstate(), separatetobefnz(), and youngcollection().

◆ finobjrold

GCObject* global_State::finobjrold

Definition at line 257 of file lstate.h.

Referenced by atomic2gen(), enterinc(), lua_newstate(), and youngcollection().

◆ finobjsur

GCObject* global_State::finobjsur

Definition at line 255 of file lstate.h.

Referenced by atomic2gen(), enterinc(), lua_newstate(), separatetobefnz(), and youngcollection().

◆ firstold1

GCObject* global_State::firstold1

Definition at line 254 of file lstate.h.

Referenced by atomic2gen(), correctpointers(), lua_newstate(), udata2finalize(), and youngcollection().

◆ fixedgc

GCObject* global_State::fixedgc

Definition at line 249 of file lstate.h.

Referenced by lua_newstate(), luaC_fix(), and luaC_freeallobjects().

◆ frealloc

lua_Alloc global_State::frealloc

Definition at line 220 of file lstate.h.

Referenced by close_state(), lua_newstate(), luaM_free_(), and tryagain().

◆ GCdebt

l_mem global_State::GCdebt

◆ gcemergency

lu_byte global_State::gcemergency

◆ GCestimate

lu_mem global_State::GCestimate

◆ gckind

lu_byte global_State::gckind

◆ gcpause

lu_byte global_State::gcpause

Definition at line 237 of file lstate.h.

Referenced by lua_gc(), lua_newstate(), and setpause().

◆ gcrunning

lu_byte global_State::gcrunning

Definition at line 235 of file lstate.h.

Referenced by f_luaopen(), GCTM(), lua_gc(), lua_newstate(), and luaC_step().

◆ gcstate

lu_byte global_State::gcstate

◆ gcstepmul

lu_byte global_State::gcstepmul

Definition at line 238 of file lstate.h.

Referenced by incstep(), lua_gc(), and lua_newstate().

◆ gcstepsize

lu_byte global_State::gcstepsize

Definition at line 239 of file lstate.h.

Referenced by incstep(), lua_gc(), and lua_newstate().

◆ genmajormul

lu_byte global_State::genmajormul

Definition at line 234 of file lstate.h.

Referenced by genstep(), lua_gc(), and lua_newstate().

◆ genminormul

lu_byte global_State::genminormul

Definition at line 233 of file lstate.h.

Referenced by lua_gc(), lua_newstate(), and setminordebt().

◆ gray

GCObject* global_State::gray

◆ grayagain

GCObject* global_State::grayagain

◆ l_registry

TValue global_State::l_registry

Definition at line 227 of file lstate.h.

Referenced by atomic(), init_registry(), lua_newstate(), and restartcollection().

◆ lastatomic

lu_mem global_State::lastatomic

Definition at line 225 of file lstate.h.

Referenced by atomic2gen(), enterinc(), genstep(), lua_newstate(), luaC_changemode(), and stepgenfull().

◆ mainthread

struct lua_State* global_State::mainthread

◆ memerrmsg

TString* global_State::memerrmsg

Definition at line 261 of file lstate.h.

Referenced by luaS_clearcache(), and luaS_init().

◆ mt

struct Table* global_State::mt[LUA_NUMTAGS]

Definition at line 263 of file lstate.h.

Referenced by lua_newstate(), and markmt().

◆ nilvalue

TValue global_State::nilvalue

Definition at line 228 of file lstate.h.

Referenced by close_state(), f_luaopen(), lua_newstate(), and tryagain().

◆ old1

GCObject* global_State::old1

Definition at line 252 of file lstate.h.

Referenced by atomic2gen(), correctpointers(), enterinc(), lua_newstate(), and youngcollection().

◆ panic

lua_CFunction global_State::panic

Definition at line 259 of file lstate.h.

Referenced by lua_newstate(), and luaD_throw().

◆ reallyold

GCObject* global_State::reallyold

Definition at line 253 of file lstate.h.

Referenced by atomic2gen(), correctpointers(), enterinc(), lua_newstate(), and youngcollection().

◆ seed

unsigned int global_State::seed

Definition at line 229 of file lstate.h.

Referenced by internshrstr(), and lua_newstate().

◆ strcache

TString* global_State::strcache[STRCACHE_N][STRCACHE_M]

Definition at line 264 of file lstate.h.

Referenced by luaS_clearcache(), and luaS_init().

◆ strt

stringtable global_State::strt

Definition at line 226 of file lstate.h.

Referenced by checkSizes(), internshrstr(), lua_newstate(), and luaC_freeallobjects().

◆ survival

GCObject* global_State::survival

Definition at line 251 of file lstate.h.

Referenced by atomic2gen(), correctpointers(), enterinc(), lua_newstate(), and youngcollection().

◆ sweepgc

GCObject** global_State::sweepgc

Definition at line 241 of file lstate.h.

Referenced by entersweep(), lua_newstate(), luaC_checkfinalizer(), and sweepstep().

◆ tmname

TString* global_State::tmname[TM_N]

Definition at line 262 of file lstate.h.

◆ tobefnz

GCObject* global_State::tobefnz

◆ totalbytes

l_mem global_State::totalbytes

Definition at line 222 of file lstate.h.

Referenced by lua_newstate(), and luaE_setdebt().

◆ twups

struct lua_State* global_State::twups

Definition at line 258 of file lstate.h.

Referenced by lua_newstate(), remarkupvals(), and traversethread().

◆ ud

void* global_State::ud

Definition at line 221 of file lstate.h.

Referenced by close_state(), lua_newstate(), luaM_free_(), and tryagain().

◆ ud_warn

void* global_State::ud_warn

Definition at line 266 of file lstate.h.

Referenced by lua_newstate().

◆ warnf

lua_WarnFunction global_State::warnf

Definition at line 265 of file lstate.h.

Referenced by lua_newstate().

◆ weak

GCObject* global_State::weak

Definition at line 245 of file lstate.h.

Referenced by atomic(), cleargraylists(), correctgraylists(), lua_newstate(), and traverseweakvalue().


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