# global_State Struct Reference

`#include <lstate.h>`

List of all members.

## Public Attributes
stringtable | strt
lua_Alloc | frealloc
void * | ud
lu_byte | currentwhite
lu_byte | gcstate
int | sweepstrgc
GCObject * | rootgc
GCObject ** | sweepgc
GCObject * | gray
GCObject * | grayagain
GCObject * | weak
GCObject * | tmudata
Mbuffer | buff
lu_mem | GCthreshold
lu_mem | totalbytes
lu_mem | estimate
lu_mem | gcdept
int | gcpause
int | gcstepmul
lua_CFunction | panic
TValue | l_registry
struct lua_State * | mainthread
UpVal | uvhead
struct Table * | mt [NUM_TAGS]
TString * | tmname [TM_N]

## Member Data Documentation

stringtable global_State::strt

lua_Alloc global_State::frealloc

void* global_State::ud

lu_byte global_State::currentwhite

lu_byte global_State::gcstate

int global_State::sweepstrgc

GCObject* global_State::rootgc

GCObject** global_State::sweepgc

GCObject* global_State::gray

GCObject* global_State::grayagain

GCObject* global_State::weak

GCObject* global_State::tmudata

Mbuffer global_State::buff

lu_mem global_State::GCthreshold

lu_mem global_State::totalbytes

lu_mem global_State::estimate

lu_mem global_State::gcdept

int global_State::gcpause

int global_State::gcstepmul

lua_CFunction global_State::panic

TValue global_State::l_registry

struct lua_State* global_State::mainthread`[read]`

UpVal global_State::uvhead

struct Table* global_State::mt[NUM_TAGS]`[read]`

TString* global_State::tmname[TM_N]

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

- lstate.h