API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.