[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work4) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 1 Aug 2010 14:33:10 -0300
> On Sat, 31 Jul 2010 17:08:28 -0400, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
>
> >- module and luaL_register deprecated, replaced by luaL_newlib and
> >luaL_setfuncs.
>
> "module" as in the global Lua function module(...)?
Yes. We are changing the policy that modules should define globals. We
changed environments. We think now the 'module' function adds too much
complication for something that it is easy to do directly.
-- Roberto