Developer

API Reference

ILua_ToBoolean()

Brew Release
Brew MP 1.0.2
Description
Converts the Lua value at the given acceptable index to a boolean value, which is 1 or TRUE for any value not false or nil.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nIndex
    []:
    index of the value to convert
  • pb
    []:
    pointer to the converted boolean on output
Interface
Prototype
   AEEResult ILua_ToBoolean(ILua *pif, int nIndex, boolean *pb)
Return
AEE_SUCCESS if the function succeeded, otherwise an error code.
  • Follow