lua-users home
lua-l archive

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


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
>