Function getfield

Source
pub unsafe extern "C" fn getfield(
    state: lua_State,
    index: i32,
    str: *const u8,
)
Expand description

Pushes onto the stack the value t[k], where t is the value at the given valid index. As in Lua, this function may trigger a metamethod for the “index” event (see §2.8).