lua-users home
lua-l archive

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

Roberto Ierusalimschy wrote:
Lua 5.1 offers a more proper way to do this mapping.

Neat.  Any examples?

It is straightforward. Use the new "environment" for userdata. This is
already present in 5.1w5. See

Has anyone used this is practice and can share an example? straightforward seems to be a reserved keyword for me.