Developer

API Reference

ILua_SetTop()

Brew Release
Brew MP 1.0.2
See Also
ILua_GetTop()
Description
Sets the stack top to the new index. If the new top is larger than the old one, then the new elements are filled with nil. If the index is 0, then all stack elements are removed.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nTop
    []:
    the new index to set the stack top to
Interface
Prototype
   AEEResult ILua_SetTop(ILua *pif, int nTop)
Return
AEE_SUCCESS if the function succeeded, otherwise an error code.
  • Follow