[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C and Lua modules
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 28 Jul 2010 22:51:48 -0300
> Could I put up the suggestion that the module adds nothing to the
> global environment, but instead just returns the module? (that is, a
> NULL argument to luaL_register)... I believe this is a practice that
> should be followed by all lua modules, and infact that argument to
> luaL_register should be scrapped...
This will be the recommendation in Lua 5.2. And luaL_register will be
deprecated to reflect this.