util.table

This library includes a few table related functions.

create(narr, nrec)

Direct interface to the Lua API function lua_createtable, which allows specifying how large a table to allocate.

pack(...)

Packs all arguments into a sequence table along with the field n set to the number of items. Basically the reverse of the unpack function from the Lua standard library an identical to the table.pack function introduced in Lua 5.2.

 
doc/developers/util/table.txt · Last modified: 2017/03/01 20:21 by Kim Alvefur