lua-users home
lua-l archive

Re: setfenv on userdata???

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


Hi,
Chris Marrin wrote:
> I see in 5.1-work6 that you can now set environments not only on both C 
> and Lua functions, but also on userdatas. But I don't see anywhere in 
> the code where this environment is being used. What can you do with this 
> environment? Does it get used when you make metamethod calls with this 
> userdata? Or is it just there so it can be retrieved or something?
http://lua-users.org/lists/lua-l/2005-04/msg00213.html
Bye,
 Mike

AltStyle によって変換されたページ (->オリジナル) /