lua-users home
lua-l archive

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

On 21-Aug-05, at 2:24 PM, 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?

I figured the easiest way to answer this question (for myself) was to write a binding library using the feature. I'm generally happy with the results, but it makes me wonder about the semantics of userdata environments.

Instead of dumping several pages of rumination into the mailing list, I've put it all on the Wiki at