Developer

API Reference

ILua_Dump()

Brew Release
Brew MP 1.0.2
See Also
ILua_Load()
Description
Dumps the Lua function at the top of the stack as a binary chunk. The binary chunk that is produced can be loaded again and should be equivalent to the one that was dumped. This does not pop the function from the stack.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • strip
    []:
    boolean indicating whether or not to strip the output of debug information
  • chunk
    []:
    c
Interface
Prototype
   AEEResult ILua_Dump(ILua *pif, boolean strip,
                       char *chunk, int chunkLen, int *chunkLenReq)
Return
Returns AEE_SUCCESS if there were no errors dumping the function. Otherwise returns an error code.
  • Follow