lua-users home
lua-l archive

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


lua_xmove() will move a number of values from one stack to another. I don't think there a copy function.
AB

-----Original Message-----
From: xenarcher <nickl@volition-inc.com> [mailto:nickl@volition-inc.com]
Sent: Friday, January 17, 2003 12:39 PM
To: Multiple recipients of list
Subject: copying stack values between lua_State objects

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?