lua-users home
lua-l archive

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


Thanks Luiz, but my question is more to know if it will remain in the future ?

Le vendredi 4 mai 2018 à 00:15:12 UTC+2, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> a écrit :


> Is it valid to register addition function afterward by calling a second time
> luaL_setfuncs() on the same time ?

Yes. See https://www.lua.org/source/5.3/lauxlib.c.html#luaL_setfuncs


> Same question with luaL_register() on 5.1 :)


Yes. See https://www.lua.org/source/5.1/lauxlib.c.html#luaI_openlib
though it's harder to follow.