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

Developer

API Reference

LUA_IS

Brew Release
Brew MP 1.0.2
Description
This function returns true if the value at the given acceptable index is of a primitive Lua type. It is used by the various helper functions that check for each of the specific primitive Lua types.
Params
pif
[]:
a pointer to the ILua object
nIndex
[]:
the stack index of the value to check
type
[]:
the ILua_LuaType to check for
pb
[]:
a pointer to the boolean output to be set on return
Prototype
  •    AEEResult Lua_Is(ILua *pif, int nIndex, ILua_LuaType type, boolean *pb)
    
Return
  • AEE_SUCCESS: if the item was able to be identified, otherwise an error code.