lua-users home
lua-l archive

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


> > 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

  http://lua-users.org/lists/lua-l/2005-03/msg00046.html

-- Roberto