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

Developer

API Reference

ILUA_ISCONVERTIBLE()

Brew Release
Brew MP 1.0.2
See Also
Description
Checks whether the value at the given valid index is convertible to a particular Lua type.
Params
pif
[]:
a pointer to the ILua object
nIndex
[]:
the stack index of the value
type
[]:
ILua_T* type indicating the Lua type
pbIsConvertible
[]:
boolean indicating whether or not the value can be converted to the given type
Interface
Prototype
  •    AEEResult ILua_IsConvertible(ILua *pif, int nIndex, ILua_LuaType type,
                                    boolean *pbIsConvertible)
    
Return
  • AEE_SUCCESS if the function succeeded, otherwise an error code.