[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: garbage collection and upvalues
- From: David Jones <drj@...>
- Date: Fri, 21 Nov 2003 17:26:16 +0000
On Nov 21, 2003, at 15:21, Dimitris Papavasileiou wrote:
Do upvalues associated with C functions count as references to the
That is will the collector collect upvalues of a C function if there
other reference to them?
Yes and Yes. In terms of garbage collection you can just think of a C
function as a little table that has a pointer to the actual C function
and entries for the upvalues.