[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table deep copy in C/CPP
- From: Pan Shi Zhu <pan.shizhu@...>
- Date: Mon, 22 Mar 2010 08:44:39 +0800
On Sun, Mar 21, 2010 at 7:41 PM, Asko Kauppi <askok@dnainternet.net> wrote:
>
> I think it did not copy the environment, though that could actually be
> implemented if needed.
>
> It would copy the function given as upvalue. It only stops when there's a
> recursion (i.e. it cannot copy a function which has itself as upvalue,
> though even this could possibly be implemented, if needed).
>
What I want is to serialize a function and transmit it in a network
socket, then unserialize it in another process (the process runs on
another computer).
does lua lanes copied function support this?