Function createtable

Source
pub unsafe extern "C" fn createtable(
    state: lua_State,
    array: i32,
    hash: i32,
)
Expand description

Creates a new empty table and pushes it onto the stack. The new table has space pre-allocated for array array elements and hash non-array elements. This pre-allocation is useful when you know exactly how many elements the table will have.