pub fn get_i_value(
state: &mut LuaState,
t: &LuaValue,
n: i64,
) -> Result<LuaType, LuaError>Expand description
Variant of get_i that accepts a pre-resolved table value instead of a
stack index. Callers that invoke get_i repeatedly on the same table
(e.g. the shift loops in table.remove / table.insert) should resolve
the table once and use this function to avoid calling index_to_value
on every iteration.