[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: copying stack values between lua_State objects
- From: Björn De Meyer <bjorn.demeyer@...>
- Date: Fri, 17 Jan 2003 22:15:41 +0100
"xenarcher " wrote:
>
> Say I've got two Lua state objects:
>
> lua_State *L1, *L2;
>
> Easy there an easy way of copying stack values L1 to L2 through C
> code?
In lua 5.0 beta there is an undocumented function:
LUA_API void lua_xmove (lua_State *from, lua_State *to, int n);
I GUESS that this one does the trick?
--
"No one knows true heroes, for they speak not of their greatness." --
Daniel Remar.
Björn De Meyer
bjorn.demeyer@pandora.be