Developer

API Reference

ILua_SetTable()

Brew Release
Brew MP 1.0.2
See Also
ILua_GetTable(), ILua_SetField(), ILua_RawSet(), ILua_RawSetI()
Description
Sets the value at the top of the stack at t[k], where t is the value at the given valid index and k is the value just below the top of the stack. Both the key and value are popped from the stack. This function may trigger the "newindex" metamethod for the value t; thus t need not necessarily be a table.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nIndex
    []:
    the stack index of the "table" value
Interface
Prototype
   AEEResult ILua_SetTable(ILua *pif, int nIndex)
  • Follow