Brew MP 1.0.2
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.
a pointer to the ILua object
boolean indicating whether or not to strip the output of debug
AEEResult ILua_Dump(ILua *pif, boolean strip,
char *chunk, int chunkLen, int *chunkLenReq)
- Returns AEE_SUCCESS if there were no errors dumping the function. Otherwise
returns an error code.