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

Developer

API Reference

ILUA_XMOVE()

Brew Release
Brew MP 1.0.2
See Also
ILua_NewThread()
Description
Exchanges values between two different threads of the same global state. That is, either piLuaTo or po must have been created by ILua_NewThread() from the other, or both must have been created by the same other thread.
Params
pif
[]:
a pointer to the ILua thread to move values from
piLuaTo
[]:
a pointer to the ILua thread to move values to
nNumElems
[]:
number of elements from the top of the stack of po to pop and push onto the stack of piLuaTo
Interface
Prototype
  •    AEEResult ILua_XMove(ILua *pif, ILua *piLuaTo, int nNumElems)