API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ILUA_CREATETABLE()

Brew Release
Brew MP 1.0.2
See Also
Description
Pushes on the Lua stack a new empty table, pre-allocated for nArr array elements and nRec non-array (dictionary) elements. This function is useful when the number of elements in the table is known, otherwise use the helper Lua_NewTable().
Params
pif
[]:
a pointer to the ILua object
nArr
[]:
number of array elements to pre-allocate
nRec
[]:
number of non-array/record elements to pre-allocate
Interface
Prototype
  •    void ILua_CreateTable(ILua *pif, int nArr, int nRec)