Developer

API Reference

ILua_GC()

Brew Release
Brew MP 1.0.2
Description
Controls the Lua garbage collector.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nWhat
    []:
    parameter indicating what task to perform. Can be one
  • nData
    []:
    Additional parameter if nWhat is ILua_GCSTEP, ILua_GCSETPAUSE or ILua_GCSETSTEPMUL
  • pnResult
    []:
    optional pointer to integer which on return will be set to the returned information for ILua_GCCOUNT, ILua_GCCOUNTB, ILua_GCSETPAUSE or ILua_GCSETSTEPMUL
Interface
Prototype
   int ILua_GC(ILua *pif, int nWhat, int nData, int *pnResult)
Return
AEE_SUCCESS if the function succeeded, otherwise an error code.
  • Follow