lua_rawgetfield

Function lua_rawgetfield 

Source
pub unsafe extern "C-unwind" fn lua_rawgetfield(
    L: *mut lua_State,
    idx: c_int,
    k: *const c_char,
) -> lua_Type
Expand description

Raw-indexes a table at the given index with the given string key and pushes the value onto the stack.

This function is equivalent to the Luau code rawget(t, k) where t is at the given index, and k is the given string key. The resulting value will be pushed onto the stack.

The type of the resulting value is returned.