lua-users home
lua-l archive

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

The function luaL_register (from lauxlib), used to open C libraries,
registers the new library into the table package.loaded[name]. Most
libraries, however, also return the new library, so that 'require' will
assign it to package.loaded[name]. For these libraries, the assignment
made by luaL_register is mostly useless.

I would like to know about packages that do depend on that assignment,
either because they do not return the new library or any other reason.

-- Roberto