The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Attributes | List of all members
global_State Struct Reference

#include <lstate.h>

Public Attributes

lua_Alloc frealloc
 
voidud
 
lu_mem totalbytes
 
l_mem GCdebt
 
lu_mem GCmemtrav
 
lu_mem GCestimate
 
stringtable strt
 
TValue l_registry
 
unsigned int seed
 
lu_byte currentwhite
 
lu_byte gcstate
 
lu_byte gckind
 
lu_byte gcrunning
 
int sweepstrgc
 
GCObjectallgc
 
GCObjectfinobj
 
GCObject ** sweepgc
 
GCObject ** sweepfin
 
GCObjectgray
 
GCObjectgrayagain
 
GCObjectweak
 
GCObjectephemeron
 
GCObjectallweak
 
GCObjecttobefnz
 
UpVal uvhead
 
Mbuffer buff
 
int gcpause
 
int gcmajorinc
 
int gcstepmul
 
lua_CFunction panic
 
struct lua_Statemainthread
 
const lua_Numberversion
 
TStringmemerrmsg
 
TStringtmname [TM_N]
 
struct Tablemt [LUA_NUMTAGS]
 

Detailed Description

Definition at line 111 of file lstate.h.

Member Data Documentation

GCObject* global_State::allgc
GCObject* global_State::allweak

Definition at line 134 of file lstate.h.

Referenced by atomic(), lua_newstate(), restartcollection(), traverseephemeron(), and traversetable().

Mbuffer global_State::buff

Definition at line 137 of file lstate.h.

Referenced by checkSizes(), close_state(), and lua_newstate().

lu_byte global_State::currentwhite

Definition at line 121 of file lstate.h.

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

GCObject* global_State::ephemeron
GCObject* global_State::finobj
lua_Alloc global_State::frealloc

Definition at line 112 of file lstate.h.

Referenced by close_state(), lua_newstate(), and luaM_realloc_().

l_mem global_State::GCdebt

Definition at line 115 of file lstate.h.

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

lu_mem global_State::GCestimate
lu_byte global_State::gckind
int global_State::gcmajorinc

Definition at line 139 of file lstate.h.

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

lu_mem global_State::GCmemtrav

Definition at line 116 of file lstate.h.

Referenced by atomic(), propagatemark(), reallymarkobject(), and singlestep().

int global_State::gcpause

Definition at line 138 of file lstate.h.

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

lu_byte global_State::gcrunning

Definition at line 124 of file lstate.h.

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

lu_byte global_State::gcstate
int global_State::gcstepmul

Definition at line 140 of file lstate.h.

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

GCObject* global_State::gray
GCObject* global_State::grayagain
TValue global_State::l_registry

Definition at line 119 of file lstate.h.

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

struct lua_State* global_State::mainthread

Definition at line 142 of file lstate.h.

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

TString* global_State::memerrmsg

Definition at line 144 of file lstate.h.

Referenced by f_luaopen().

struct Table* global_State::mt[LUA_NUMTAGS]

Definition at line 146 of file lstate.h.

Referenced by lua_newstate(), and markmt().

lua_CFunction global_State::panic

Definition at line 141 of file lstate.h.

Referenced by lua_newstate().

unsigned int global_State::seed

Definition at line 120 of file lstate.h.

Referenced by internshrstr(), and lua_newstate().

stringtable global_State::strt

Definition at line 118 of file lstate.h.

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

GCObject** global_State::sweepfin

Definition at line 129 of file lstate.h.

Referenced by entersweep(), lua_newstate(), and singlestep().

GCObject** global_State::sweepgc

Definition at line 128 of file lstate.h.

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

int global_State::sweepstrgc

Definition at line 125 of file lstate.h.

Referenced by entersweep(), and singlestep().

TString* global_State::tmname[TM_N]

Definition at line 145 of file lstate.h.

GCObject* global_State::tobefnz
lu_mem global_State::totalbytes

Definition at line 114 of file lstate.h.

Referenced by lua_newstate(), and luaE_setdebt().

void* global_State::ud

Definition at line 113 of file lstate.h.

Referenced by close_state(), lua_newstate(), and luaM_realloc_().

UpVal global_State::uvhead

Definition at line 136 of file lstate.h.

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

const lua_Number* global_State::version

Definition at line 143 of file lstate.h.

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

GCObject* global_State::weak

Definition at line 132 of file lstate.h.

Referenced by atomic(), lua_newstate(), restartcollection(), retraversegrays(), and traverseweakvalue().


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