Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/module/lua/lstate.h
| Show First 20 Lines • Show All 134 Lines • ▼ Show 20 Lines | typedef struct global_State { | ||||
| GCObject *ephemeron; /* list of ephemeron tables (weak keys) */ | GCObject *ephemeron; /* list of ephemeron tables (weak keys) */ | ||||
| GCObject *allweak; /* list of all-weak tables */ | GCObject *allweak; /* list of all-weak tables */ | ||||
| GCObject *tobefnz; /* list of userdata to be GC */ | GCObject *tobefnz; /* list of userdata to be GC */ | ||||
| UpVal uvhead; /* head of double-linked list of all open upvalues */ | UpVal uvhead; /* head of double-linked list of all open upvalues */ | ||||
| Mbuffer buff; /* temporary buffer for string concatenation */ | Mbuffer buff; /* temporary buffer for string concatenation */ | ||||
| int gcpause; /* size of pause between successive GCs */ | int gcpause; /* size of pause between successive GCs */ | ||||
| int gcmajorinc; /* pause between major collections (only in gen. mode) */ | int gcmajorinc; /* pause between major collections (only in gen. mode) */ | ||||
| int gcstepmul; /* GC `granularity' */ | int gcstepmul; /* GC `granularity' */ | ||||
| lua_CFunction panic; /* to be called in unprotected errors */ | lua_CFunction on_panic; /* to be called in unprotected errors */ | ||||
| struct lua_State *mainthread; | struct lua_State *mainthread; | ||||
| const lua_Number *version; /* pointer to version number */ | const lua_Number *version; /* pointer to version number */ | ||||
| TString *memerrmsg; /* memory-error message */ | TString *memerrmsg; /* memory-error message */ | ||||
| TString *tmname[TM_N]; /* array with tag-method names */ | TString *tmname[TM_N]; /* array with tag-method names */ | ||||
| struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */ | struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */ | ||||
| } global_State; | } global_State; | ||||
| ▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines | |||||