1pub const LUAI_MAXCSTACK: i32 = 8000; 2 3pub const LUA_GLOBALSINDEX: i32 = -LUAI_MAXCSTACK - 2002; 4 5#[inline(always)] 6pub const fn lua_upvalueindex(i: i32) -> i32 { 7 LUA_GLOBALSINDEX - i 8}