lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

Marius Gheorghe wrote:
> Does any one know whether it is safe to use lua_xmove() when both the source
> and destination states represent the same state and, if it is safe, does
> this operation leave the stack unchanged (as intuitively expected)?

LUA_API void lua_xmove (lua_State *from, lua_State *to, int n) {
...
  if (from == to) return;
...

Bye,
     Mike