Developer

API Reference

ILua_ToString()

Brew Release
Brew MP 1.0.2
See Also
ILua_IsConvertible()
Description
Converts the Lua value at the given acceptable index to a string. The Lua value must be a string or number, otherwise no string is returned. Beware that if the value is a number, this function will also change the actual value in the stack to a string.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nIndex
    []:
    index of the value to convert
  • str
    []:
    s
Interface
Prototype
   AEEResult ILua_ToString(ILua *pif, int nIndex, char *str,
                           int strLen, int *strLenReq)
Return
AEE_SUCCESS if the function succeeded, otherwise an error code.
  • Follow