[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: newproxy, bug
- From: Jonathan Castello <twisolar@...>
- Date: Fri, 14 Jan 2011 02:29:25 -0800
For what it's worth, I like to use debug.setfenv/debug.getfenv with a
newproxy() userdata to store private data with an object from Lua.
There's no way to do this with tables (that I know of) except with a
relatively clunky local table where the keys are objects and the
values are the private data.
~Jonathan
- References:
- newproxy, bug, joao lobato
- Re: newproxy, bug, Roberto Ierusalimschy
- Re: newproxy, bug, Javier Guerra Giraldez
- Re: newproxy, bug, Geoff Leyland
- Re: newproxy, bug, Mike Pall
- Re: newproxy, bug, Geoff Leyland
- Re: newproxy, bug, Florian Weimer
- Re: newproxy, bug, Geoff Leyland