[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 upvalues
- From: Rob Hoelz <rob@...>
- Date: Fri, 8 Apr 2011 14:16:33 -0500
If you want C closures to share values, you could store a table as an
upvalue, store your values in there, and set the same table as an
upvalue for the closures.
-Rob
On Fri, 8 Apr 2011 15:05:31 -0400
Patrick Donnelly <batrick@batbytes.com> wrote:
> On Fri, Apr 8, 2011 at 1:46 PM, Anthony Howe <achowe+lua@snert.com>
> wrote:
> > Can Lua 5.1 upvalues be associated with more than one C closure?
>
> No.
>
Attachment:
signature.asc
Description: PGP signature