Developer

API Reference

ILua_CreateBuffer()

Brew Release
Brew MP 1.0.2
See Also
ILuaBuffer interface, ILuaBuffer_PushResult()
Description
Creates and returns a new ILuaBuffer that can be used to manipulate a string buffer. When finished, ILuaBuffer_PushResult() can be called to push the result onto the Lua stack.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nSize
    []:
    the initial size of the buffer
  • ppiLuaBuffer
    []:
    A pointer to an interface pointer that is assigned on output to the newly created ILuaBuffer.
Interface
Prototype
   AEEResult ILua_CreateBuffer(ILua *pif, int nSize, ILuaBuffer **ppiLuaBuffer)
Return
AEE_SUCCESS if the function succeded, otherwise an error code.
  • Follow