pub type lua_State = lua_State;Expand description
A raw lua_State pointer type alias, re-exported at the crate root for
signature parity with mlua::lua_State.
Aliased Type§
#[repr(C)]pub struct lua_State {Show 23 fields
pub hdr: GCheader,
pub status: u8,
pub activememcat: u8,
pub isactive: bool,
pub singlestep: bool,
pub top: *mut lua_TValue,
pub base: *mut lua_TValue,
pub global: *mut global_State,
pub ci: *mut CallInfo,
pub stack_last: *mut lua_TValue,
pub stack: *mut lua_TValue,
pub end_ci: *mut CallInfo,
pub base_ci: *mut CallInfo,
pub stacksize: i32,
pub size_ci: i32,
pub nCcalls: u16,
pub baseCcalls: u16,
pub cachedslot: i32,
pub gt: *mut LuaTable,
pub openupval: *mut UpVal,
pub gclist: *mut GcObject,
pub namecall: *mut TString,
pub userdata: *mut c_void,
}Fields§
§hdr: GCheader§status: u8§activememcat: u8§isactive: bool§singlestep: bool§top: *mut lua_TValue§base: *mut lua_TValue§global: *mut global_State§ci: *mut CallInfo§stack_last: *mut lua_TValue§stack: *mut lua_TValue§end_ci: *mut CallInfo§base_ci: *mut CallInfo§stacksize: i32§size_ci: i32§nCcalls: u16§baseCcalls: u16§cachedslot: i32§gt: *mut LuaTable§openupval: *mut UpVal§gclist: *mut GcObject§namecall: *mut TString§userdata: *mut c_void