Developer

API Reference

Lua_IsUserData

Brew Release
Brew MP 1.0.2
See Also
Lua_IsLightUserData(), ILuaEx_NewUserData(), ILuaEx_ToUserData()
Description
This function returns true if the value at the given acceptable index on the Lua stack is a full userdata.
Parameters
  • pif
    []:
    a pointer to the ILua object
  • nIndex
    []:
    the stack index of the value to check
  • pb
    []:
    a pointer to the boolean output to be set on return
Prototype
   int Lua_IsUserData(ILua *pif, int nIndex, boolean *pb)
Return
AEE_SUCCESS: if the item was able to be identified, otherwise an error code.
  • Follow