lua-users home
lua-l archive

Re: Replacement for luaL_openlib in Lua 5.1

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


> 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

AltStyle によって変換されたページ (->オリジナル) /