[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Replacement for luaL_openlib in Lua 5.1
- From: David Burgess <dburgess@...>
- Date: Fri, 2 Dec 2005 00:34:15 +1100
I would vote for some more detail on LUA_ENVIRONINDEX in the
5.1 manual. Anyone else?
DB
On 12/2/05, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> > What is the recommended or "official" way of porting
> > luaL_loadlib to Lua 5.1 in case upvalues are actually used?
>
> In the short term, you can continue to use luaL_loadlib (or
> luaI_loadlib). In the long term, the idea is to change shared upvalues
> by values in the environment.
>
> -- Roberto
>