lua-users home
lua-l archive

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


For the special case of copying absolutely everything in the state,
the lper library may be useful for you. It's at
http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lper .

Ben

On 9/22/05, Zulfiqar Malik <zulfiqar.malik@itrango.com> wrote:
> Can someone tell me how i can make an exact duplicate (/clone/copy) of a
> lua_State such that the stack and tables are intact? I need this for a
> special purpose. Is there any public implementation for such a method
> because i think that the basic lua library does not provide anything of this
> sort.
>
> Thanks in advance.
>
> Regards,
> Zulfiqar Inayat Malik.
>
>