lua5.4
Public 属性 | 所有成员列表
global_State结构体 参考

#include <lstate.h>

global_State 的协作图:
[图例]

Public 属性

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
 

类成员变量说明

◆ allgc

GCObject* global_State::allgc

◆ allweak

GCObject* global_State::allweak

◆ currentwhite

lu_byte global_State::currentwhite

◆ ephemeron

GCObject* global_State::ephemeron

◆ finobj

GCObject* global_State::finobj

◆ finobjold1

GCObject* global_State::finobjold1

◆ finobjrold

GCObject* global_State::finobjrold

◆ finobjsur

GCObject* global_State::finobjsur

◆ firstold1

GCObject* global_State::firstold1

◆ fixedgc

GCObject* global_State::fixedgc

◆ frealloc

lua_Alloc global_State::frealloc

◆ 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

◆ gcrunning

lu_byte global_State::gcrunning

◆ gcstate

lu_byte global_State::gcstate

◆ gcstepmul

lu_byte global_State::gcstepmul

◆ gcstepsize

lu_byte global_State::gcstepsize

◆ genmajormul

lu_byte global_State::genmajormul

◆ genminormul

lu_byte global_State::genminormul

◆ gray

GCObject* global_State::gray

◆ grayagain

GCObject* global_State::grayagain

◆ l_registry

TValue global_State::l_registry

◆ lastatomic

lu_mem global_State::lastatomic

◆ mainthread

struct lua_State* global_State::mainthread

◆ memerrmsg

TString* global_State::memerrmsg

◆ mt

struct Table* global_State::mt[LUA_NUMTAGS]

◆ nilvalue

TValue global_State::nilvalue

◆ old1

GCObject* global_State::old1

◆ panic

lua_CFunction global_State::panic

◆ reallyold

GCObject* global_State::reallyold

◆ seed

unsigned int global_State::seed

◆ strcache

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

◆ strt

stringtable global_State::strt

◆ survival

GCObject* global_State::survival

◆ sweepgc

GCObject** global_State::sweepgc

◆ tmname

TString* global_State::tmname[TM_N]

◆ tobefnz

GCObject* global_State::tobefnz

◆ totalbytes

l_mem global_State::totalbytes

◆ twups

struct lua_State* global_State::twups

◆ ud

void* global_State::ud

◆ ud_warn

void* global_State::ud_warn

◆ warnf

lua_WarnFunction global_State::warnf

◆ weak

GCObject* global_State::weak

该结构体的文档由以下文件生成: