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

Developer

API Reference

ILUA_ISINTERFACE()

Brew Release
Brew MP 1.0.2
See Also
ILua_ToInterface(), ILua_PushInterface(), ILuaEx_CheckInterface()
Description
This function returns true if the value at the given acceptable index is an IQI-derived interface corresponding to the given interface IID.
Params
pif
[]:
a pointer to the ILua object
nIndex
[]:
the stack index of the value to check
iid
[]:
interface ID to verify the object against, or AEEIID_IQI for any interface
pb
[]:
pointer to boolean set to TRUE if the value is an IQI-derived interface, FALSE otherwise.
Interface
Prototype
  •    AEEResult ILua_IsInterface(ILua *pif, int nIndex, AEEIID iid, boolean *pb)