[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table deep copy in C/CPP
- From: Mark Hamburg <mark@...>
- Date: Sat, 20 Mar 2010 10:27:20 -0700
On Mar 20, 2010, at 1:54 AM, Asko Kauppi wrote:
> If you are interested in copying functions, the Lanes code can do that. It also copies upvalues.
>
> -asko
Does it also copy the environment? How does it decide where to stop? For example, if I stick math.sin into a local variable math_sin and reference this as an upvalue in the function I'm passing, what does it do?
Mark