Developer

API Reference

ILuaFunction_Call()

Brew Release
Brew MP 1.0.2
See Also
ILua interface, ILua_PushILuaFunction(), AEELuaCFunction
Description
This method will be called when a Lua script executes the function represented by this object.
Parameters
  • pif
    []:
    a pointer to the ILuaFunction object.
  • piLua
    []:
    a pointer to the ILua instance that called this function.
  • pnResults
    []:
    a pointer to an integer that on return should be set to the number of results on the stack that should be returned to Lua
Interface
Prototype
   AEEResult ILuaFunction_Call(ILuaFunction *pif, ILua *piLua, int *pnResults)
Return
AEE_SUCCESS if the function call succeeded, otherwise an error code.
  • Follow