pub unsafe extern "C" fn lua_createtable(
L: *mut State,
narr: i32,
nrec: i32,
)Expand description
Binding to lua_createtable() (-0, +1).
Creates a new empty table and pushes it onto the stack. The new table
has space pre-allocated for narr array elements and nrec non-array
elements.
This pre-allocation is useful when you know exactly how many
elements the table will have. Otherwise you can use the function
lua_newtable.