An opaque structure that points to a thread and indirectly (through the thread) to the whole state of a Lua interpreter. The Lua library is fully reentrant: it has no global variables. All information about a state is accessible through this structure.
Synonym for lua_State *. See
lua_State.
Instances3Eq, Generic, Rep
Eq StateDefined in lua-2.3.2 · Lua.TypesGeneric StateDefined in lua-2.3.2 · Lua.Typestype Rep State = D1 ('MetaDataDefined in lua-2.3.2 · Lua.Types"State"
"Lua.Types"
"lua-2.3.2-70lbxEsccETF14NSmxmYYI"
'True) (C1 ('MetaCons"State"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr ()))))