[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: closure upvalues
- From: Ignacio Castaño <castanyo@...>
- Date: Fri, 24 May 2002 18:45:01 +0200
Roberto Ierusalimschy wrote:
> > Is it possible to get the closure upvalues without calling it?
>
> No (maybe we will add this facility to the API).
It would be really usefull, specially now, that it's quite elegant to bind a
metatable to a class constructor to create objects of that class. I don't
know much about lua internals, but I'll try to do it myself...
Ignacio Castaño
castanyo@yahoo.es
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com