lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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