Brew MP 1.0.2
Loads a string buffer as a Lua chunk, pushing it as a function on
top of the stack. This function only loads the chunk and does not run it.
a pointer to the ILua object
pointer to the string buffer containing the chunk
length of the string buffer
an optional name for the chunk which will be used for
error messages and debug information
- Returns AEE_SUCCESS if there are no errors and pushes the loaded chunk as a
function on top of the stack. Otherwise, pushes an error message and
returns one of:
AEE_ENOMEMORY: if there was a memory allocation error;
AEE_EFAILED: if there was a syntax error during pre-compilation.