Developer

API Reference

ILuaEx_ToUserData()

Brew Release
Brew MP 1.0.2
See Also
ILuaEx_NewUserData(), ILuaEx_PushLightUserData()
Description
Returns the block address or pointer value of the userdata or light userdata at the given valid index.
Parameters
  • pif
    []:
    a pointer to the ILuaEx object
  • nIndex
    []:
    the stack index of the userdata object
Interface
Prototype
   void *ILuaEx_ToUserData(ILuaEx *pif, int nIndex)
Return
The pointer to the full or light userdata object, or NULL if the index was invalid.
  • Follow