Skip to main content

get_subtable

Function get_subtable 

Source
pub fn get_subtable(
    state: &mut LuaState,
    idx: i32,
    fname: &[u8],
) -> Result<bool, LuaError>
Expand description

Ensure state[idx][fname] is a table; push it. Returns true if the table already existed, false if newly created.