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

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.
Params
pif
[]:
a pointer to the ILuaEx object
p
[]:
the light userdata pointer
Interface
Prototype
  •    void ILuaEx_PushLightUserData(ILuaEx *pif, void *p)