Developer

API Reference

ILua_GetTop()

Brew Release
Brew MP 1.0.2
See Also
ILua_SetTop()
Description
Returns the index of the top element in the stack. This is equivalent to the number of elements in the stack, with 0 indicating an empty stack.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • pnTop
    []:
    a pointer to an integer which will be set on return to the index of the top element in the stack.
Interface
Prototype
   AEEResult ILua_GetTop(ILua *pif, int *pnTop)
Return
AEE_SUCCESS if the function succeeded, otherwise an error code.
  • Follow