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

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.
Params
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.