lua-users home
lua-l archive

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

?Before the 5.0 oriented code on, it notes that "WARNING: this code is for Lua 5.0. To run it in Lua 5.1, you must change the five calls luaopen_*(L) to a single call to luaL_openlibs(L)."

However, it neglects to mention that also in 5.1 lua_open() should be changed to luaL_newstate().