Re: Replacement for luaL_openlib in Lua 5.1
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Replacement for luaL_openlib in Lua 5.1
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2005年12月01日 11:10:20 -0200
> 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