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

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.
Params
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.