|
> 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