lua-users home
lua-l archive

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



On Thu, Dec 22, 2011 at 1:00 PM, Patrick Rapin <toupie300@gmail.com> wrote:
> You need to use luaL_Reg instead.

For the records, I have just ported LuaSocket 2.0.2 for Lua 5.2.
I had to make three modifications:
 - changed a bunch of luaL_reg into luaL_Reg
 - changed a number of luaL_putchar into luaL_addchar
 - implemented luaL_typerror since it has been removed (why?)


ltn12 is still using "arg" and "table.getn"