lua-users home
lua-l archive

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


On Sat, Jan 9, 2010 at 1:00 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> luaL_openlib was deprecated already in 5.1. Use luaL_register instead.

But lfs.c is not using luaL_openlib, it is up-to-date. I note this:

LUALIB_API void (luaL_register) (lua_State *L, const char *libname,
                                const luaL_Reg *l) {
  luaI_openlib(L, libname, l, 0);
}

But then I'm confused, because surely it will just find the
luaL_register exported by 5.2?

steve d.