Developer

API Reference

ILuaEx_PushLightUserData()

Brew Release
Brew MP 1.0.2
See Also
ILuaEx_NewUserData(), ILuaEx_ToUserData()
Description
Pushes a light userdata, represented as a void pointer, onto the Lua stack. Unlike full userdata, a light userdata is not memory managed by Lua, does not have an individual metatable and is not garbage collected. Equality is defined as having the same raw pointer address.
Parameters
  • pif
    []:
    a pointer to the ILuaEx object
  • p
    []:
    the light userdata pointer
Interface
Prototype
   void ILuaEx_PushLightUserData(ILuaEx *pif, void *p)
  • Follow